-
Notifications
You must be signed in to change notification settings - Fork 26
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
Effection examples #869
Comments
@taras What do you think about adding this file to the library https://github.com/taras/effection-react-autocomplete/blob/main/src/hooks/useTask.ts? I suppose it's a common case for React to run a task in the "rules": {
"react-hooks/exhaustive-deps": ["warn", {
"additionalHooks": "useTask"
}]
} It makes the linter to check all the deps the same way as it does for useEffect and etc.
|
@taras I’ve made a repo comparing effection with async approach in some react examples https://github.com/Atrue/react-concurrency-examples/tree/main Currently, I see 3 additional hooks that may be useful for react developers:
Also, as I noticed before, there is as an additional eslint configuration for these hooks to check the What do you think about these examples and moving these hooks to a separate library?
|
We must provide examples of how Effection can be used for different things.
For frontend the conders are,
What examples would you like to see?
The text was updated successfully, but these errors were encountered: