-
Notifications
You must be signed in to change notification settings - Fork 46.8k
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
Regression in 0.13: refs of siblings aren't resolved in previous siblings componentDidMount #3128
Comments
Hmm. We can't just have a refs queue and a componentDidMount queue because if we have
and we have a ref to each component, then the order should be Ca1 componentDidMount I think. Specifically, the child refs need to resolve before the parent's componentDidMount is called. Right now we do Ca1 componentDidMount but you're saying Pa componentDidMount needs to come after Cb{1,2} ref. |
We could fire refs before the child's componentDidMount. That would guarantee that all refs are resolved before any componentDidMounts are fired. I'm not sure what is best or worse. It seems like we only have two reasonable choices. Either that, or keeping what is in master. I think the choice needs to be based on what is easiest to deal with when you're trying to compose two events. |
You've thought about this more and I haven't been working on this, so assigning this back to you. |
I think we'll ship an RC in the current state and see what havoc it causes. |
Not sure how to fix this. Probably needs separate queues.
The text was updated successfully, but these errors were encountered: