
71: Joe Savona on Relay and Data Fetching with Suspense
In the immortal words of TLC, "Don't go chasing waterfalls".
Joe Savona joins us to talk about avoiding waterfalls in your React code.
Joe has spent the last year working with the React team in developing a relay-suspense integration for the new facebook.com.
He shares the lessons and patterns they've learned and how they're baking great user experience into Relay.
Fetch-on-render, fetch-then-render, and Render-as-you-fetch are patterns you'll be hearing more often as Suspense picks up steam.
Thankfully, in today's episode Joe helps us navigate that verbiage and determine what our first steps with Suspense should be.
Featuring
Links
- Data Fetching With Suspense In Relay | Joe Savona — Joe's React Conf 2019 talk on Relay Hooks and Suspense at Facebook
- Building The New Facebook With React and Relay | Ashley Watkins — Ashley's talk on Relay at Facebook
- Selective hydration
- progressive hydration
@defer@stream@module
- Relay — A JavaScript framework for building data-driven React applications
- Relay Hooks — Experimental Concurrent Mode APIs
- Relay Hooks: A Step By Step Guide
- Concurrent Mode API Reference
SuspenseSuspenseListuseTransitionuseDeferredValue
- Data fetching patterns
- Relay Runtime
- Relay Compiler
- Tagged template literals
- GraphQL Fragments
- Sophie Alpert — React team manager emeritus
- Yuzhi Zheng — Manager of React and Relay teams
- Hack — Programming Productivity Without Breaking Things
Sponsors
Linode
Instantly deploy and manage an SSD server in the Linode Cloud. Get a server running in seconds with your choice of Linux distro, resources, and node location.
Clubhouse
Clubhouse is project management that brings everyone, on every team, together.
React Podcast listeners get 2 months free on any paid plan.
Get your project back on track at clubhouse.io/react.
This podcast uses Simplecast for stats and dynamic audio. What this means Episodes play from the podcast's own servers, unmodified. Not affiliated with Podbay.
