-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
onAfter called after preload in V3 but not V4 #186
Comments
Likely not. Can you investigate more and possibly open a PR? |
I can confirm its not being called serverside render either. |
Anyone help in debugging. I’ll try and find some time to give RUC some TLC |
I also confirm this is happening in 4.0.0. Just started digging into it, see what I can find UPDATE: This is happening for me only on the initial mount. Subsequent mounts do call onAfter, but the first one does not. e.g. navigating to a second page will run onAfter |
After analyzing 3c21ffa I found that this was caused during the refactor from Previously, My solution is to move the |
…n V3 but not V4 Move init() call from constructor to componentDidMount, after _initialize is set to true, so that __update() fires __handleAfter on first run fix faceyspacey#186
In V4.0.0 onAfter is not being called if we called preload.
V4.0.0 Sandbox
but in V3.0.3 onAfter is called correctly after we call preload.
V3.0.3 Sandbox
is it expected?
The text was updated successfully, but these errors were encountered: