Skip to content
This repository was archived by the owner on Nov 1, 2023. It is now read-only.

Commit 18781b9

Browse files
authored
Merge pull request #152 from zaks276/patch-2
Fixed a typo
2 parents a5edf79 + 85e0849 commit 18781b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guides/state-management.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ For this guide we assume that you already know about the [core concepts](/docs/c
99

1010
In this guide we are explaining how you could use React Flow with the state management library [Zustand](https://github.com/pmndrs/zustand). We will build a little app where every node has a color chooser that updates its background color. In this guide we are are using Zustand, because we are already using it internally for React Flow, but of course you can use any other library like [Redux](https://redux.js.org/), [Recoil](https://recoiljs.org/) or [Jotai](https://jotai.org/) as well.
1111

12-
As you might have seen in the previous guides and examples, React Flow can easily be used with a local state for handling the nodes and edges of your diagram. When your app grows and you want to alter your state from within your nodes for examples, things can easily get more complex. To avoid passing down functions through the node data field, you could use a [React context](https://reactjs.org/docs/context.html) or add a state management library as explained in this guide.
12+
As you might have seen in the previous guides and examples, React Flow can easily be used with a local state for handling the nodes and edges of your diagram. When your app grows and you want to alter your state from within your nodes for example, things can easily get more complex. To avoid passing down functions through the node data field, you could use a [React context](https://reactjs.org/docs/context.html) or add a state management library as explained in this guide.
1313

1414
## Install Zustand
1515

0 commit comments

Comments
 (0)