mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-24 12:43:05 +00:00
Fix typo (#8056)
This commit is contained in:
committed by
Dan Abramov
parent
e0704b2590
commit
3af93d6c2e
@@ -226,7 +226,7 @@ The end result is the same but by not mutating (or changing the underlying data)
|
||||
|
||||
Determining if a mutated object has changed is complex because changes are made directly to the object. This then requires comparing the current object to a previous copy, traversing the entire object tree, and comparing each variable and value. This process can become increasingly complex.
|
||||
|
||||
Determining how a immutable object has changed is considerably easier. If the object being referenced is different from before, then the object has changed. That's it.
|
||||
Determining how an immutable object has changed is considerably easier. If the object being referenced is different from before, then the object has changed. That's it.
|
||||
|
||||
### Determining When To Re-render in React
|
||||
|
||||
|
||||
Reference in New Issue
Block a user