Sveriges mest populära poddar

Frontend First

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

67 min • 14 maj 2020

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

Kategorier
Förekommer på
00:00 -00:00