mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-01-31 12:38:18 +01:00
Update 08-rendering.md (#3520)
This commit is contained in:
parent
d17a1e86e3
commit
2d901f6520
@ -133,4 +133,4 @@ const Toolbar = () => {
|
||||
}
|
||||
```
|
||||
|
||||
Because the `<Toolbar>` uses the `useSlate` hook to retrieve the context, it will will re-render whenever the editor changes, so that the active state of the buttons stays in sync.
|
||||
Because the `<Toolbar>` uses the `useSlate` hook to retrieve the context, it will re-render whenever the editor changes, so that the active state of the buttons stays in sync.
|
||||
|
Loading…
x
Reference in New Issue
Block a user