Stay current on the latest innovations and technologies in the React community by listening to our panel of React and Web Development Experts.
RRU 065: useEffect The Good, the Bad, and the Gotchas
Sponsors
- Netlify
- Sentry use the code “devchat” for 2 months free on Sentry’s small plan
- Triplebyte offers a $1000 signing bonus
- CacheFly
Panel
- Lucas Reis
- David Ceddia
- Thomas Aylott
- Justin Bennett
Summary
The panel starts by discussing if useEffect is a good API or a bad API. The problems that useEffect solves are considered. The panel agrees it is a much better abstraction where subscriptions are concerned. Suspense and data fetching is discussed, the panel considers what the react team has in store concerning data fetching. The panel discusses what it was like to be a beginner to React and how using React is not an intuitive language. The panel shares some of their mistakes with useEffect, and try to consider useEffect from a beginners perspective. The panel gives advice for using hooks.
Links
Picks
Lucas Reis:
David Ceddia:
- https://twitter.com/kentcdodds/status/1125876615177629696
- https://twitter.com/ryanflorence/status/1125041041063665666
- Fun with React Hooks - Michael Jackson and Ryan Florence
Thomas Aylott:
Justin Bennett: