Closed
Description
React version:17.0.1
Steps To Reproduce
- Wrap app in StrictMode
- Do a function in useMemo
Link to code example:
https://codesandbox.io/s/vigilant-tree-igscd
The current behavior
The console.log in setSlot only exec once.
The expected behavior
Exec the console.log twice in setSlot funciton.