Everyone's sidestepping useEffect. Is everyone wrong, or is it React? - podcast episode cover

Everyone's sidestepping useEffect. Is everyone wrong, or is it React?

May 14, 20201 hr 7 minEp. 98
--:--
--:--
Download Metacast podcast app
Listen to this episode in Metacast mobile app
Don't just listen to podcasts. Learn from them with transcripts, summaries, and chapters for every episode. Skim, search, and bookmark insights. Learn more

Episode description

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

For the best experience, listen in Metacast app for iOS or Android