We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
use-state-promise/src/index.ts
Line 37 in 9fb1b1a
I like the idea behind this hook, but will the above effect run if the state value is a primitive that didn't change?
The text was updated successfully, but these errors were encountered:
It should not run for same value when it's a primitive. You can use an object ie. {value: "primitive"} to force the effect.
{value: "primitive"}
Sorry, something went wrong.
This PR makes the promise always resolve: #2
No branches or pull requests
use-state-promise/src/index.ts
Line 37 in 9fb1b1a
I like the idea behind this hook, but will the above effect run if the state value is a primitive that didn't change?
The text was updated successfully, but these errors were encountered: