React one starter aims to enable you to build apps for web, iOS, android using the same files and source code. It uses the skeleton generated by:
- Create React App
- Expo Cli
git clone https://github.com/hareeqi/react-one-starter.git
cd react-one-starter
npm i
- To start developing for web
npm run web - To start devolving for native
npm run native
- You can name files as
file1.native.js,file1.web.js,file1.ios.js,file1.android.jsor justfile1.js - You import
Platformfromreact-nativesuch asPlatform.OS === 'web'orPlatform.OS === 'android'
- Use VSCode
- Prettier plugin configured with auto save
- ESLint plugin
- CSS-in-JS Plugin
- You might need to turn off your firewall to use expo app on a real device , granting you are on the same network.
- Color Highlight plugin
- Select highlight minimap plugin
- Auto Close Tag plugin
- Auto Rename Tag plugin