You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been starting to implement it in my fairly large and complex app. It's fine to do on a few select hooks, but applying it to all is both quite cumbersome and cause a lot of unnecessary re-renders for my recently unfocused screen (which is the opposite of what I'm trying to achieve).
Looking at Legend State, they are using a context provider with an imperative API, which is precisely what I want to make it maximally performant. Would you be up for something like this? Happy to send a PR 👍
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I was really happy to see
subscribed
option being merged which helps a lot forreact-native
use cases – thanks a bunch!I've been starting to implement it in my fairly large and complex app. It's fine to do on a few select hooks, but applying it to all is both quite cumbersome and cause a lot of unnecessary re-renders for my recently unfocused screen (which is the opposite of what I'm trying to achieve).
Looking at Legend State, they are using a context provider with an imperative API, which is precisely what I want to make it maximally performant. Would you be up for something like this? Happy to send a PR 👍
Beta Was this translation helpful? Give feedback.
All reactions