Skip to content

maleking/TS-React-Native-Starter-kit

Repository files navigation

Elegant React Native ( WIP ) - RN 0.61.2

Installation

Install React Native cli and requirements

git clone https://github.com/iran-react-community/elegant-react-native.git
cd elegant-react-native
yarn
nano app.json /* here we go to edit project name and displayName */
cp .env.example .env /* some ENV stuff? I hope I can remove it smdy! */
react-native eject /* generate ios and android folders */
react-native link /* add app/assets/fonts and react-native-vector-icons  */
cd ios && pod install && cd ../ && yarn ios
yarn android /* android */

Additional Steps

Enable Hermes

Edit your android/app/build.gradle file and make the change illustrated below:

  project.ext.react = [
      entryFile: "index.js",
-     enableHermes: false  // clean and rebuild if changing
+     enableHermes: true  // clean and rebuild if changing
  ]
cd android && ./gradlew clean && cd ../  && yarn android

Todo then

  • Add Customizable Theme and Dark Mode
  • Auto Eject after Initialize Project
  • Turn Elegant to a React Native Template
  • Offline Management
  • Web - SPA/SSR
  • Tests
  • Docs

Contribution

License

MIT

Free Software, Hell Yeah!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published