Git Product home page Git Product logo

starters-dev / rn-starter Goto Github PK

View Code? Open in Web Editor NEW
149.0 149.0 15.0 1.89 MB

๐Ÿฆ„ React Native Starter - Powered by cli-rn, React Navigation (v6), Expo Modules, RN UI lib, MMKV, Mobx, Reanimated 2, Dark Mode, Localization, Notifications, Permissions, and much more.

Home Page: https://cli-rn.batyr.io

License: MIT License

JavaScript 2.09% TypeScript 67.84% Starlark 3.62% Java 15.01% Ruby 2.22% Objective-C 9.03% Swift 0.20%
expo-modules react react-native react-native-app react-native-navigation react-navigation

rn-starter's People

Contributors

kanzitelli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

rn-starter's Issues

mobx-persist-store: minified bundle issue with <Class>.name usage

Describe the bug
When using the approach shown in this example, where <Class>.name is being used as the name option, the minified bundle is giving warnings. Additionally, the app behaviour is impacted as hydration does not work as expected in some cases and state is lost.

To Reproduce
Steps to reproduce the behavior:

  1. Follow the approach in the example and use <Class>.name as the name for the name option.
  2. Generate a dev build: eas build --platform ios --profile development
  3. Generate a minified bundle: npx expo start --dev-client --minify
  4. Notice the warning in LogBox, and observe potential unexpected app behavior

Expected behavior
<Class>.name should be able to be used as a storage name without causing warnings or affecting app behavior.

Warning
mobx-persists-store: 'makePersistable' was called with the same storage name "t"

Environment

  • ios development: warning + behaviour
  • ios staging build ("developmentClient": false): behaviour only

Possible Solution
using static string values instead, like name: 'CounterStore'

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.