React Round Up

React Round Up


RRU 065: useEffect The Good, the Bad, and the Gotchas

June 11, 2019

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

https://twitter.com/ryanflorence/status/1125041041063665666

Picks

Lucas Reis:

https://github.com/kkuchta/css-only-chat

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:

The Design of Everyday Things: Revised and Expanded Edition

Justin Bennett:

https://dusk.now.sh/
https://developers.facebook.com/videos/2019/building-the-new-facebookcom-with-react-graphql-and-relay/