Skip to content
This repository has been archived by the owner on Feb 27, 2022. It is now read-only.

how to change setState to useState with immer data #81

Open
AmarnathGangapuram opened this issue Aug 2, 2020 · 0 comments
Open

how to change setState to useState with immer data #81

AmarnathGangapuram opened this issue Aug 2, 2020 · 0 comments

Comments

@AmarnathGangapuram
Copy link

AmarnathGangapuram commented Aug 2, 2020

I tried to change your setState to useState but i am still facing issues.
Can you please explain how to change setState(produce(draft=>{
}) to useState

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant