Skip to content

Tohid1999/elegant-react-native

 
 

Repository files navigation

Elegant React Native ( WIP ) - RN 0.62.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 */
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

Elegant React Native

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%