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
{{ message }}
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.
I think renaming these methods (with warnings for the old names) is a good idea - it makes it a little easier to explain and reason about what's going on. The way I think of it:
Roact itself reifies / reconciles / tears down components.
Roact users cause Roact to do these things by mounting / updating / unmounting components.
IMO, reification/reconciliation are internal terms that Roact users shouldn't need to worry about unless they're going to dig into internals!
After a little talk internally, I'm hesitant to change reconcile to update but I'm still comfortable with the other two changes.
The reason here is that update is sort of a vague term, and talking about reconciliation is a healthy part of learning what Roact is and how you should work with it. It also means our diagnostics can stay very precise about what phase they're referring to ("update phase" is super vague).
Having two terms for this in the documentation is kind of confusing.
We can introduce a warning for the
teardown
alias but keep it through 1.0.The text was updated successfully, but these errors were encountered: