Video yükleniyor...
Video Yüklenemedi
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 görüntüleme • 1 yıl önce •via X (Twitter)
12 Yorum

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

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 🔗

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?

Very cool 🤩

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

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

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

great, let me know how it goes!

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

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

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

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
