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
After reading this thread, I'm afraid this library is not handling the stale props, yet.
As far as I understand, the problem is that the props in the render phase is not sync with the previous props in the commit phase which are likely to exist in closures created in useEffect.
I wonder, it can be simply solved by calling a callback in each commit phase, or not?
The text was updated successfully, but these errors were encountered:
facebookarchive/redux-react-hook#39 (comment)
After reading this thread, I'm afraid this library is not handling the stale props, yet.
As far as I understand, the problem is that the props in the render phase is not sync with the previous props in the commit phase which are likely to exist in closures created in useEffect.
I wonder, it can be simply solved by calling a callback in each commit phase, or not?
The text was updated successfully, but these errors were encountered: