Skip to content

Commit

Permalink
Fix typo (facebook#20300)
Browse files Browse the repository at this point in the history
Signed-off-by: Hollow Man <hollowman@hollowman.ml>
  • Loading branch information
HollowMan6 authored and koto committed Jun 15, 2021
1 parent c6f9a6c commit bab1a2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-reconciler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ This method happens **in the render phase**. It can mutate `parentInstance` and

#### `finalizeInitialChildren(instance, type, props, rootContainer, hostContext)`

In this method, you can perform some final mutations on the `instance`. Unlike with `createInstance`, by the time `finalizeInitialChildren` is called, all the initial children have already been addded to the `instance`, but the instance itself has not yet been connected to the tree on the screen.
In this method, you can perform some final mutations on the `instance`. Unlike with `createInstance`, by the time `finalizeInitialChildren` is called, all the initial children have already been added to the `instance`, but the instance itself has not yet been connected to the tree on the screen.

This method happens **in the render phase**. It can mutate `instance`, but it must not modify any other nodes. It's called while the tree is still being built up and not connected to the actual tree on the screen.

Expand Down

0 comments on commit bab1a2b

Please sign in to comment.