Frontend First
Frontend First
Sam Selikoff, Ryan Toronto
Everyone's sidestepping useEffect. Is everyone wrong, or is it React?
1 hour 7 minutes Posted May 14, 2020 at 10:00 am.
– JavaScript identity vs. business logic identity when working with useEffect
0:00
1:07:06
Download MP3
Show notes
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:-