Giter Site home page Giter Site logo

daveham / mytestapp Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 400 KB

My reference starting configuration for a React Native app.

License: MIT License

JavaScript 32.44% Ruby 11.14% TypeScript 27.40% Kotlin 13.17% Objective-C 11.72% Objective-C++ 4.13%
react react-native react-native-paper react-navigation redux redux-saga

mytestapp's Introduction

My Common React Native Start

This repo captures a common configuration of libraries I use in React Native applications.

This project was first bootstrapped using @react-native-community/cli. Then, the following libraries were added:

  • React Native Paper - Material Design UI
  • Redux and React Redux - I prefer old-school, without redux toolkit
  • Redux Actions - An opinionated approach based on Flux Standard Actions
  • Redux Sagas - Some say it is too complicated, but it's my choice for redux side effects
  • React Navigation - I've used multiple versions of this library for routing and navigation
  • Reactotron - In the ever-changing story of debugging react native applications, this is the one that currently works

Notes

The argument against Redux Sagas

This blog entry links to slides and a talk given by Mark Erikson (acemarke) who recommends using Redux Toolkit and avoiding Redux Sagas. Mark is a Redux maintainer and created Redux Toolkit so I pay attention to his advice. However, based on my experience and preference for the "mental model" of Redux Sagas, I accept the additional complexity for what I consider an elegant approach to orchestrating Redux side effects. I also choose not to use Redux Toolkit primarily because I embrace the principle of immutability at the heart of Redux and I prefer not to bury it under a layer of convenience.

Debugging

This article on Medium, Why you don't need Flipper in your React Native app..., explains what doesn't work anymore and hints that better debugger options are in development.

mytestapp's People

Contributors

daveham avatar

Watchers

 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.