From 6bd0acbdc74e0d55a3881cd5614f63cc174f4433 Mon Sep 17 00:00:00 2001 From: do-nat <47325790+do-nat@users.noreply.github.com> Date: Tue, 14 Dec 2021 14:54:19 +0100 Subject: [PATCH] docs(state): fix link to immer (#1810) --- docs/concepts/state.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/concepts/state.md b/docs/concepts/state.md index 527542760..129947a92 100644 --- a/docs/concepts/state.md +++ b/docs/concepts/state.md @@ -225,7 +225,7 @@ feedZebra(ctx: StateContext, action: FeedZebra) { ``` Here the `produce` function from the `immer` library is called with just a single parameter -so that it returns its [curried form](https://github.com/mweststrate/immer#currying) +so that it returns its [curried form](https://immerjs.github.io/immer/curried-produce) that will take a value and return a new value with all the expressed changes applied. This approach can also allow for the creation of well named helper functions that can be shared