mirror of
https://github.com/LukeHagar/unicorn-utterances.git
synced 2025-12-11 04:22:07 +00:00
chore: remove old contents outline
This commit is contained in:
@@ -12,29 +12,6 @@
|
|||||||
}
|
}
|
||||||
---
|
---
|
||||||
|
|
||||||
# What is Reconciliation?
|
|
||||||
|
|
||||||
OK now "reconciliation"
|
|
||||||
|
|
||||||
Eventually React needs to know what needs rendering and what doesn't
|
|
||||||
|
|
||||||
So, for example, say you have:
|
|
||||||
|
|
||||||
```
|
|
||||||
- List item 1
|
|
||||||
- List item 2
|
|
||||||
```
|
|
||||||
|
|
||||||
And want to add an item to the list. You ideally don't want React to have to re-render items 1&2, because it's expensive
|
|
||||||
|
|
||||||
By default, it will do that
|
|
||||||
|
|
||||||
But, if you add a `key` in a list, React is able to figure out what elements associate with what keys and prevent a re-render
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
-----------------------------------------------------------------
|
|
||||||
|
|
||||||
# What is SSR?
|
# What is SSR?
|
||||||
|
|
||||||
// Done
|
// Done
|
||||||
|
|||||||
Reference in New Issue
Block a user