🥳 Contains rax hooks that are used very frequently.
-
useMountedState: get component mount state
-
useMounted: calls a function after the component is mounted
-
useUnmount: calls a function when the component will unmount
-
useOnceEffect: run an effect only once
-
useAsyncEffect: run an async effect
-
useOnceAsyncEffect: run an async effect only once
-
useFetch: makes isomorphic http requests
-
usePromise: use promise in function component
-
useImport: makes dynamic import component
-
useInterval: makes a safe setTimeInterval effect
-
useTimeout: makes a safe setTimeout effect
-
useRouter: configure router in function component
-
useCountdown: tracks state of count down
-
useStorage: tracks state of localstorage