Quartz 5

Home

❯

develop

❯

react

❯

other

❯

react optimize

react optimize

Properties2
descriptionreact optimize
tagsreact-native

Aug 28, 20261 min read

react

  • 为什么 rerender
  • props 是通过引用而不是值进行比较的

别人怎么做的:

https://github.com/aidenybai/react-scan

https://github.com/welldone-software/why-did-you-render

https://react.dev/reference/react/Profiler

https://ahooks.js.org/hooks/use-why-did-you-update


Graph View

Created with Quartz v5.0.0 © 2026

  • GitHub
  • Discord Community