Comments (5)
Sure, please let us know if you have any suggestions on how we can make it better. You can add more ideas in the Discussion section.
from react-native-template-obytes.
Hey @RadouaneEzzaggab, we are using the autogenerated selectors recommended by the documentation.
I would love to hear more ideas about your approach and why it's better. But it would be great if you could create it as discussions.
from react-native-template-obytes.
Thanks for your reply @yjose, I taked a look to recommended selector i appreciate the way, but i think we have to put shallow for ensure performance no ?
Here is the example from the doc located in github : https://github.com/pmndrs/zustand
from react-native-template-obytes.
The approach we are using will create atomic stats picks for every state in our store, which means we don't need to add shallow in this case. here is the source from the docs :
It detects changes with strict-equality (old === new) by default, this is efficient for atomic state picks.
If you want to construct objects or arrays, you need to use shallow for performance in this case; however, this is not the case for our situation.
Let me know if you still have more concerns.
from react-native-template-obytes.
Okay i that's fine, i appreciate your template so much, i hope to know how you are organizing modular or MVVM pattern in the future
Thank you @yjose
from react-native-template-obytes.
Related Issues (20)
- Permission denied HOT 5
- project fails to run HOT 3
- Java Error - No idea HOT 3
- unable to run the project after following the instructions on docs HOT 1
- Screens without bottomtabbar HOT 1
- Android APK size is huge compared to ipa. HOT 2
- import web3 "ReferenceError: Property 'EventTarget' doesn't exist, js engine: hermes" HOT 2
- Can't run project on iOS HOT 4
- eas build wont work with template HOT 5
- Excuse me, what is this question HOT 1
- EAS Build gives error for iOS HOT 4
- Env variables not being included in expo builds when .env* files are .gitignored
- ... Only alphanumeric characters, '.' and '_' are allowed, and each '.' must be followed by a letter... HOT 5
- Suggestion for the message after running the cli
- release scripts for bumping versionCode and buildNumbers HOT 1
- Build filed- Task :expo-modules-core:configureCMakeDebug[arm64-v8a] FAILED HOT 2
- Assets are missing after EAS Build HOT 1
- local build must be of same type as eas build to publish HOT 1
- How about using a expo router? HOT 1
- Can not start the app in Expo Go HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-template-obytes.