[FIX] docs: some spelling corrections

This commit is contained in:
Joseph Caburnay
2020-01-09 09:31:35 +01:00
committed by Géry Debongnie
parent 74bd119bf5
commit b7b0e38fca
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -225,7 +225,7 @@ to be called in the constructor.
}
```
- **`style`** (string, optional): it should be the return value of the [`css tag](tags.md#css-tag),
- **`style`** (string, optional): it should be the return value of the [`css` tag](tags.md#css-tag),
which is used to inject stylesheet whenever the component is visible on the
screen.
@@ -425,7 +425,7 @@ likely via a change in its state/props or environment).
This method is not called on the initial render. It is useful to interact
with the DOM (for example, through an external library) whenever the
component was patched. Note that this hook will not be called if the compoent is
component was patched. Note that this hook will not be called if the component is
not in the DOM.
Updating the component state in this hook is possible, but not encouraged.