From f8dbc924e1839709e3316325d341114682bd8eab Mon Sep 17 00:00:00 2001 From: Yura <1009751+Unisay@users.noreply.github.com> Date: Fri, 20 Dec 2024 20:01:36 +0100 Subject: [PATCH] Fix a mistake in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c395aa1..9910d27 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ reducer st = case _ of Decrement -> st - 1 ``` -And then we use the `makeStore'` function from this library. Note that `makeStore'` itself is not a hook function, but a **higher-order hook**, because it accepts some inputs and produce a hook function. The first argument is the **unique** identifier of our store. The second argument is the initial state value. +And then we use the `makeStore'` function from this library. Note that `makeStore'` itself is not a hook function, but a **higher-order hook**, because it accepts some inputs and produce a hook function. The first argument is the **unique** identifier of our store. The third argument is the initial state value. **Important:** Avoid creating multiple stores with the same ID to prevent conflicts.