Skip to content

Latest commit

 

History

History
65 lines (44 loc) · 1.4 KB

File metadata and controls

65 lines (44 loc) · 1.4 KB

React Native for Web - Stateless Boilerplate for Fiber

Looking for an statefull boilerplate instead? Check out redux-form-styled-for-react-native for a cross platform app built on redux, redux-form react-native-web and expo

Overview

I am an upgrade from react-native-web-boilerplate

An minimum boilerplate to configure react-native-web + react-native with React 16 fiber!

Prerequisites

  • Node 8 LTS
  • You can use yarn or npm
  • react-native-cli

https://facebook.github.io/react-native/docs/getting-started.html

Quick start

git clone --depth 1 https://github.com/agrcrobles/react-native-web-fiber-boilerplate.git

What is on it?

Web HMR with webpack-dev-server

cd react-native-web-fiber-boilerplate
yarn
yarn web

Open http://localhost:3000/

Desktop with electron

cd electron
yarn i
yarn start

Android

react-native run-android

IOS

react-native run-ios

Contributing

PR, stars ✭ and issue reporting, welcome!

License

MIT