Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

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

Evan Bacon 🥓 profil fotoğrafı
Evan Bacon 🥓1 yıl önce

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

Callstack Engineers profil fotoğrafı
Callstack Engineers1 yıl önce

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 profil fotoğrafı
Gabriel Moreira1 yıl önce

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 profil fotoğrafı
Amy Chen1 yıl önce

Very cool 🤩

Nathan Walker profil fotoğrafı
Nathan Walker1 yıl önce

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

Evan Bacon 🥓 profil fotoğrafı
Evan Bacon 🥓1 yıl önce

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

Lionel Nguyen profil fotoğrafı
Lionel Nguyen1 yıl önce

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

Evan Bacon 🥓 profil fotoğrafı
Evan Bacon 🥓1 yıl önce

great, let me know how it goes!

Adiel Hercules profil fotoğrafı
Adiel Hercules1 yıl önce

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

Evan Bacon 🥓 profil fotoğrafı
Evan Bacon 🥓1 yıl önce

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

Manish Baghel profil fotoğrafı
Manish Baghel1 yıl önce

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

Evan Bacon 🥓 profil fotoğrafı
Evan Bacon 🥓1 yıl önce

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

Benzer Videolar