BFE.dev

React 小测验

你是否知道React 本身的一些奇怪逻辑?

  • 1. React re-render 1React中等难度
  • 2. React re-render 2 - memo()React容易
  • 3. React re-render 3 React容易
  • 4. React re-render 4React中等难度
  • 5. Automatic batching 1React中等难度
  • 6. React re-render 5 - contextReact中等难度
  • 7. Suspense 1React中等难度
  • 8. Suspense 2React中等难度
  • 9. React re-render 6 - ContextReact容易
  • 10. useLayoutEffect()ReactHooks中等难度
  • 11. callback propsReact容易
  • 12. useEffectReact中等难度
  • 13. useRefReactHooks中等难度
  • 14. async event handlerReact中等难度
  • 15. memo 2React容易
  • 16. event callbackReactHooks容易
  • 17. flushSync()ReactHooks中等难度
  • 19. lazy initial stateReactHooks容易
  • 20. Error BoundaryReact中等难度
  • 21. useEffect() IIReactHooks中等难度
  • 22. useState()ReactHooks中等难度
  • 23. Suspense 3ReactHooks容易
  • 24. useEffect() timingReactHooks容易
  • 25. all kinds of effectsReactHooks中等难度
  • 26. useEffect() IIIReactHooks中等难度
  • 27. useEffect() timing IIReactHooks容易
  • 28. useEffect() timing IIIReactHooks中等难度
  • 29. useEffect() timing IVReactHooks中等难度
  • 30. Error Boundary Once MoreReact有点难?
  • 31. useRef IIReactHooks中等难度