使用Player FM应用程序离线!
Everyone's sidestepping useEffect. Is everyone wrong, or is it React?
Manage episode 261831526 series 1635850
Sam and Ryan grapple with the way useEffect nudges you to build UIs. They discuss whether JavaScript object identity is a good proxy to use for business logic equivalence, whether useEffect leads to more correct code, and then they chat about some of the ways React developers sidestep useEffect when the declarative programming model that Hooks impose upon them is not a good fit with their app's business logic.
Topics include:
- 11:39 – JavaScript identity vs. business logic identity when working with useEffect
185集单集
Manage episode 261831526 series 1635850
Sam and Ryan grapple with the way useEffect nudges you to build UIs. They discuss whether JavaScript object identity is a good proxy to use for business logic equivalence, whether useEffect leads to more correct code, and then they chat about some of the ways React developers sidestep useEffect when the declarative programming model that Hooks impose upon them is not a good fit with their app's business logic.
Topics include:
- 11:39 – JavaScript identity vs. business logic identity when working with useEffect
185集单集
所有剧集
×欢迎使用Player FM
Player FM正在网上搜索高质量的播客,以便您现在享受。它是最好的播客应用程序,适用于安卓、iPhone和网络。注册以跨设备同步订阅。