# react-native-web
within this project, you can share you react and react-native code, one project, all platform
## how it work
specify all lib with exactly version, especially *react*, *react-dom* and *react-native*, so they work properly.
* react: 15.4.1
* react-dom: 15.4.1
* react-native: 0.42.0

## how it look like
* android
* App
* bundle
* ios
* web
* index.android.js
* index.ios.js
* index.web.js
* package.json
#### android
android project
#### App
App folder, share you code in this folder, suggest structure is:
* assets: assets folder
* native: native code folder
* web: web code folder
#### bundle
generate native bundle 
#### ios
ios project
#### web
web project, web config file
* config: react app dev and product config folder
* entrance: react app`s entrance folder, within is index.html file
* public: webpack generate release files in this folder, usually this folder can be use to publish
#### index.android.js
android native project entrance
#### index.ios.js
ios native project entrance
#### index.web.js
webpack project config entry file
#### package.json
package json

## usage
`cd react-native-web`

`npm install`