Skip to content
This repository has been archived by the owner on Feb 17, 2023. It is now read-only.

useEffect group (possible effects) #25

Open
dy opened this issue Dec 25, 2019 · 0 comments
Open

useEffect group (possible effects) #25

dy opened this issue Dec 25, 2019 · 0 comments

Comments

@dy
Copy link
Owner

dy commented Dec 25, 2019

useMediaEffect(fn, mediaCondition)
useToggleEffect(fn, boolean)
useFSMEffect(states, value)
useEffect(fn, deps, scheduler?)

Technically can be decomposed to useState + regular useEffect

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

No branches or pull requests

1 participant