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
hi simbathesailor.
I really appreciate what you did and the idea you got.
However, in my opinion, could be better use just two other customHook that provide a check of firstrun and previus object by dependency.
In term of separation concerns, maybe this my replacement avoid an array of dependency in favor of a single watch property (maybe useful in redux).
This is the gist after you have imported the BetterUseEffect function you can use it instead of plain useEffect.
Tell me if you like my idea.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
hi simbathesailor.
I really appreciate what you did and the idea you got.
However, in my opinion, could be better use just two other customHook that provide a check of firstrun and previus object by dependency.
In term of separation concerns, maybe this my replacement avoid an array of dependency in favor of a single watch property (maybe useful in redux).
This is the gist after you have imported the BetterUseEffect function you can use it instead of plain useEffect.
Tell me if you like my idea.
The text was updated successfully, but these errors were encountered: