Open mithi opened 3 years ago
I'm calling this everywhere move is somewhere and call it from there so that I don't always copy paste this everywhere
const useNextEffect = typeof window !== "undefined" ? useLayoutEffect : useEffect
in the following files:
main.js
use-async.js
react/advanced-hooks/3
react/advanced-hooks/2
I'm calling this everywhere move is somewhere and call it from there so that I don't always copy paste this everywhere
in the following files:
main.js
use-async.js
react/advanced-hooks/3
react/advanced-hooks/2