Skip to content

Commit 3a2d764

Browse files
authored
Update README.md
1 parent d90fd1d commit 3a2d764

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,8 @@ Use `setGlobal` to initialize or update your global state. This is analogous to
631631
calling `this.setGlobal` in a class component or `useGlobal()[1]` in a
632632
function component.
633633

634-
The first parameter is the new global state that you want to set.
634+
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.
635636

636637
The optional second parameter is a callback.
637638

0 commit comments

Comments
 (0)