Loading video...

Video Failed to Load

Go Home

Expo + React Server Components (preview) 🚀 Just open sourced a new movies app demo using Expo Router and React server functions. Native data fetching, loading states, and error handling have never been this easy! → Runs on iOS, Web, and Android

72,143 views • 1 year ago •via X (Twitter)

12 Comments

Evan Bacon 🥓's profile picture
Evan Bacon 🥓1 year ago

Here's the source, just need to add env vars for TMDB

Callstack Engineers's profile picture
Callstack Engineers1 year ago

Grab your popcorn 🍿 Our React Native for TV guide is here, packed with the latest techniques and best practices. Don't miss out on this essential update to keep your apps running at peak performance 🚀 Download it now 🔗

Gabriel Moreira's profile picture
Gabriel Moreira1 year ago

Promising! I noticed the use of expo-router and expo-image in the code. If the client app is running an older version of expo-image that doesn’t support a certain property, will this trigger an error on the client or will the property be ignored?

Amy Chen's profile picture
Amy Chen1 year ago

Very cool 🤩

Nathan Walker's profile picture
Nathan Walker1 year ago

Looks neat! I was just trying out the web, am I missing something for it to run? maybe a dep is missing?

Evan Bacon 🥓's profile picture
Evan Bacon 🥓1 year ago

error is in the console (server) it may be the env vars

Lionel Nguyen's profile picture
Lionel Nguyen1 year ago

Thanks for sharing. Can’t wait to play with it!

Evan Bacon 🥓's profile picture
Evan Bacon 🥓1 year ago

great, let me know how it goes!

Adiel Hercules's profile picture
Adiel Hercules1 year ago

Amazing! How does the server handle this? Is expo start --web doing the magic here?

Evan Bacon 🥓's profile picture
Evan Bacon 🥓1 year ago

expo start is hosting the dev server for all platforms! To run the prod server: npx expo export && npx expo serve

Manish Baghel's profile picture
Manish Baghel1 year ago

What's the benefit of using React server components in native?

Evan Bacon 🥓's profile picture
Evan Bacon 🥓1 year ago

the environment variables are secure by default, no hooks for data fetching—just components and suspense, bundle splitting for client code, streamed rendering. It’s game changing magic

Related Videos