提交 add08fab 编写于 作者: A Adam Barth

Merge pull request #604 from domokit/pylaligand-patch-1

Fixed a typo in the widget tutorial.
......@@ -381,7 +381,7 @@ non-trivial internal state. Initializing internal state in `didMount` is more
efficient (and less error-prone) than initializing that state during the
component's constructor because parent executes the component's constructor each
time the parent rebuilds even though the framework mounts only the first
instance into the widget heiarchy. (Instead of mounting later instances, the
instance into the widget hierarchy. (Instead of mounting later instances, the
framework passes them to the original instance in `syncFields` so that the first
instance of the component can incorporate the values passed by the parent to the
component's constructor.)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册