Skip to content

Immer middleware doc change proposal #2136

Answered by dai-shi
Brammm asked this question in General
Discussion options

You must be logged in to vote
export const useCountStore = create<State & Actions>()(

That's correct. immer<State & Actions>((set) => ({ is just wrong.
Can you open a PR?

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Brammm
Comment options

Answer selected by Brammm
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants