Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when useImmer use in an async function #83

Closed
galileo303 opened this issue Apr 26, 2021 · 1 comment
Closed

when useImmer use in an async function #83

galileo303 opened this issue Apr 26, 2021 · 1 comment

Comments

@galileo303
Copy link

Now I change the input value in a async request,
then useImmer's produce 'setObj' can't render the React function component.
It do nothing?
the code:
image

the print:
image

React Version:^16.12.0
use-immer Version:^0.5.1

@mweststrate
Copy link
Collaborator

mweststrate commented May 3, 2021 via email

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

No branches or pull requests

2 participants