How to render a website as a native mobile app

iPhone 8 simulator rendering example.com website

Prerequisites

React Native

npm install --global expo-cli
expo init react-native-webview-example
cd react-native-webview-example

WebView

npm install --save react-native-webview
npm start

Example

--

--

--

remarkablemark.org

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

JavaScript and Asynchronous Operations

Understanding Array.reduce()

FrontEnd Masters: Introduction to Programming (with Kyle Simpson)

React Native Animation Tutorial — Creating Animations with React Native Reanimated

That’s all I knew about JS

How to root Motorola Moto E4 XT1766 | Get Root Access

Using Leaflet in React

The Event Loop in JavaScript

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
remarkablemark

remarkablemark

remarkablemark.org

More from Medium

Setting Up React-Native with Typescript Environment in Mac OS

What is React Native framework, and how can cross-platform apps boost your business?

React Native or Native App Development: Which one to choose for your Business?

The 7 Reasons Why We Recommend React.js For Developing Mobile App