Open 2sem opened 2 years ago
Cool!
@2sem BTW How is this related to react-navigation 5? I'm using version 6, but screens at the bottom of the stack still get re-rendered without FocusRender.
Cool!
@2sem BTW How is this related to react-navigation 5? I'm using version 6, but screens at the bottom of the stack still get re-rendered without FocusRender.
I forgot :), I guess it was related by useIsFocused. Now my project's navigation has been upgrade to 6. so useIsFocused is imported from @react-native/native.
Cool! @2sem BTW How is this related to react-navigation 5? I'm using version 6, but screens at the bottom of the stack still get re-rendered without FocusRender.
I forgot :), I guess it was related by useIsFocused. Now my project's navigation has been upgrade to 6. so useIsFocused is imported from @react-native/native.
Ah OK! I thought that v5 might have something like this built in as an option.
Thanks for your awesome library. My project can't use react-navigation 5. so I cloned your source as hook version. I don't know yet how create this with useMemo instead of React.memo. How about this?