rooks
rooks copied to clipboard
No example for useAsyncEffect
@ddsuhaimi Ah that's true. Would you like to try adding an example in a PR? Would appreciate it very much!
@ddsuhaimi Ah that's true. Would you like to try adding an example in a PR? Would appreciate it very much!
I am not sure how useAsyncEffect works to be honest, do I just copy this example?
@ddsuhaimi There is also an example in the test case here. https://github.com/imbhargav5/rooks/blob/main/packages/rooks/src/tests/useAsyncEffect.spec.ts#L175
As long as it covers at least the ones in the test cases, the PR will be super 🔥
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.