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
{{ message }}
This repository was archived by the owner on Dec 3, 2022. It is now read-only.
The functions like navigate/goBack etc should be able to be used in hooks / dependency arrays.
We should rather make them stable so that they don't trigger effect re-execution on every navigate action, which is not the case currently (as reported by @cmmartin here: #3 (comment))
The functions like navigate/goBack etc should be able to be used in hooks / dependency arrays.
We should rather make them stable so that they don't trigger effect re-execution on every navigate action, which is not the case currently (as reported by @cmmartin here: #3 (comment))
See also https://github.com/react-navigation/core/issues/71
The core does not provide stable action functions currently, and it may be complicated to do so and guarantee that as part of the core contract.
But we can provide stabilization in this package.