#React 19.2 useEffectEvent允许开发者使用一个始终能看到最新状态和属性的函数,而不会导致包含该函数的Effect重新运行。作者期待看到这个钩子在未来如何被使用。

https://www.nico.fyi/blog/quick-look-use-effect-event Quick look into the useEffectEvent
 
 
Back to Top