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
bug: Lifecycle events never be fired on React.FC #20071
Comments
@pjc0247 beat me to it This was introduced in ionic 4.11.6, version 4.11.5 works perfectly fine. From what I've noticed this is only an issue on the first render, lifecycle hooks still work when navigating to other pages and back. |
Thanks, I've found the issue and am working on a fix. Hopefully will be out later today. |
fixed and released in 4.11.7, thanks for reporting! |
can confirm it's working now |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Bug Report
Ionic version:
[x] 4.x
Current behavior:
I'm trying to receive lifecycle events following your documentation:
https://ionicframework.com/docs/react/lifecycle
https://github.com/pjc0247/bugreport/blob/master/src/pages/Home.tsx#L6
Expected behavior:
console log will be printed.
Steps to reproduce:
https://pjc0247.github.io/bugreport/build/index.html
Related code:
https://github.com/pjc0247/bugreport/blob/master/src/pages/Home.tsx#L6
Other information:
Ionic info:
The text was updated successfully, but these errors were encountered: