mirror of
https://github.com/pmndrs/zustand.git
synced 2025-12-08 19:45:52 +00:00
docs: add plaintext language to code block to prevent layout breaks (#2745)
This commit is contained in:
parent
b93e11681d
commit
18c0a3d97d
@ -105,7 +105,7 @@ const action = useMainStore((state) => {
|
||||
|
||||
The error message will be something like this:
|
||||
|
||||
```
|
||||
```plaintext
|
||||
Uncaught Error: Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.
|
||||
```
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user