Sebastian "Sebbie" Silbermann
Sebastian "Sebbie" Silbermann
In StrictMode, `useEffect` functions are executed twice. This catches race conditions e.g. when `num` changes but the first Promise takes longer than the second Promise. You can avoid this by...
> what I'm also confused about is that why the updater function has been executed twice even though the useEffect only executed once without using strict mode. Updater functions may...
PR has merge conflicts. Can you rebase this onto latest `main`?
> I saw that @testing-library/jest-dom is also using chalk but only in a test. However, it is listed as dependency. Maybe we can move it to devDependencies and also replace...