We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d90fd1d commit 3a2d764Copy full SHA for 3a2d764
README.md
@@ -631,7 +631,8 @@ Use `setGlobal` to initialize or update your global state. This is analogous to
631
calling `this.setGlobal` in a class component or `useGlobal()[1]` in a
632
function component.
633
634
-The first parameter is the new global state that you want to set.
+The first parameter is merged into the global state in the same way a class
635
+component's `this.setGlobal` merges its first parameter into the local state.
636
637
The optional second parameter is a callback.
638
0 commit comments