Skip to content
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

Confusion #36

Open
yousefelgoharyx opened this issue Aug 28, 2021 · 2 comments
Open

Confusion #36

yousefelgoharyx opened this issue Aug 28, 2021 · 2 comments

Comments

@yousefelgoharyx
Copy link

I see that you describe reconciling as finding what changed and the render phase as to update the app itself
But I read somewhere else that reconciling is actually 2 phases
Render phase which async and here I think we find changes
And commit phase in which we apply those changes to the DOM
Now I'm so confused what is actually correct

@abdoachhoubi
Copy link

@yousefelgoharyx I recommend watching this video What Is React Fiber? on youtube.
It may slove that confusion!

@weiwang94
Copy link

It is important to remember that the reconciliation algorithm is an implementation detail。This is the description I found about reconciliation 。 You can see it's a broad description。So I understand that reconciliation includes everything that React does to compare the old and new trees after an update。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants