Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Lauviah0622/b37a22943dd20ffaae4f11fbe6201925 to your computer and use it in GitHub Desktop.
Save Lauviah0622/b37a22943dd20ffaae4f11fbe6201925 to your computer and use it in GitHub Desktop.
Rnue interview
1. https://jsfiddle.net/lauviah0622/3e7r6yk8/5/
2. https://jsfiddle.net/lauviah0622/nrkqta47/3/
3.
4. https://jsfiddle.net/lauviah0622/judpwgem/6/
5. https://jsfiddle.net/lauviah0622/fw67uLh8/2/
6. https://codesandbox.io/s/objective-wozniak-1mn8cc?file=/src/App.js
7. 1,在該次的 scope 裡面可以把 count 視為 0,而兩次的 setCount 都是 setCount(1),因此為
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment