Subscribe on changes!

Activated hook is not triggering when mounting childs of an async component

avatar
Mar 6th 2023

@dbssman Is this resolved on your side? Is there a temp workaround for this? Thanks.

I noticed there's a PR waiting approval. Is there anyone can look into it? @zhangzhonghe Any luck with getting the PR reviewed and released? Thanks.

I'm experiencing the same thing. And I can recreated this bug in SFC Playground too.

In my playground, the first time you open it, the child component inside the async comp is mounted but never triggering the activated hook. That's the first time the async comp is loaded. But if you click on the toggle button, I can see the child component inside the async comp is triggering activated.

avatar
Mar 6th 2023

Any luck with getting the PR reviewed and released? Thanks.

@yxchai You could leave a comment in #7286 and @yyx990803 to review it. Maybe it will get yyx's attention.

avatar
Mar 22nd 2023

@dbssman Is this resolved on your side? Is there a temp workaround for this? Thanks.

@yxchai I have a workaround but very specific to my project and that might not work for you, or not be what you need, If you're still interested in it lemme know.

avatar
Mar 28th 2023

@yxchai I have a workaround but very specific to my project and that might not work for you, or not be what you need, If you're still interested in it lemme know.

Thanks for the reply, @dbssman, I was able to work out a way in my project specifically. So, all good here.

avatar
Jul 14th 2023

This bug affected me unexpectedly today. I assume bandwidth just isn't there to get this reviewed and pushed. Just commenting to keep this thread alive!