React Native for Web - Stateless Boilerplate
Overview
An easy and simple way to configure react-native-web
and react-navigation
.
For a thorough discussion, please read the following blog post about navigating in all platforms with react-navigation.
Checking flow for IOS platform
No Errors!
modules cross platform
Quick start
git clone --depth 1 https://github.com/agrcrobles/react-native-web-boilerplate.git
Web
cd react-native-web-boilerplate
yarn
yarn web
Open http://localhost:3000/
Desktop with electron
cd electron
npm i
npm start
Android
yarn start
yarn android
IOS
yarn start
yarn ios
More information
- babel preset:
babel-preset-react-native
is recommended in mobile and in web ( and it hot reloads! ) - packager: metro bundler packager is used
- jest: experimental
CONTRIBUTING
PR, stars ✭ and issue reporting, welcome!
LICENSE
MIT