Giter Site home page Giter Site logo

truongluu / react-native-navigation-dva Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 941 KB

Intergrated Wix/React native navigation with dvaJS

License: MIT License

JavaScript 44.14% Starlark 2.52% Java 5.18% Ruby 11.66% Objective-C 14.63% TypeScript 21.87%

react-native-navigation-dva's Introduction


Simple yet practical starter with React Native Navigation v6, and Redux (pick one) and more goodies inside.

It is a basic Reddit App implementation (list of subreddits and news only) where the main goal to achieve was usage of functional components with React Native Navigation. So no more class MyComponent extends React.Component { ... }, only functions with React Hooks and native navigation. The app logic is written in one way: using Redux with hooks in /srcRedux folder. You can find instructions for launching the app using one or another way in index.js file. So now you are free to choose any option you love and stick with it!


and pick your favourite state management tool (examples inside)
REDUX
Redux - a predictable state container
React Redux - official React bindings for Redux
Redux Saga - side effect model for Redux apps
Redux Persist - persist and rehydrate a Redux store

Getting Started

  1. Clone the repo
git clone https://github.com/truongluu/react-native-navigation-dva.git new-project
  1. Install packages
cd new-project
npm i
cd ios/ && pod install && cd ../
  1. Rename the app using react-native-rename if needed. If you do so, don't forget to run cd ios/ && pod install && cd ../ when the process is finished. Also keep in mind that bundle identifier must be valid for both platforms or change it manually.

  2. Run it!

react-native run-ios
react-native run-android

Todos

There are still some things I would like to add to the starter:

License

This project is MIT licensed

react-native-navigation-dva's People

Contributors

kanzitelli avatar truongluu avatar

Stargazers

JasonXiang avatar David Luu avatar  avatar

Watchers

James Cloos avatar  avatar JasonXiang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.