Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

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 Aufrufe • vor 1 Jahr •via X (Twitter)

12 Kommentare

Profilbild von Evan Bacon 🥓
Evan Bacon 🥓vor 1 Jahr

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

Profilbild von Callstack Engineers
Callstack Engineersvor 1 Jahr

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 🔗

Profilbild von Gabriel Moreira
Gabriel Moreiravor 1 Jahr

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?

Profilbild von Amy Chen
Amy Chenvor 1 Jahr

Very cool 🤩

Profilbild von Nathan Walker
Nathan Walkervor 1 Jahr

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

Profilbild von Evan Bacon 🥓
Evan Bacon 🥓vor 1 Jahr

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

Profilbild von Lionel Nguyen
Lionel Nguyenvor 1 Jahr

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

Profilbild von Evan Bacon 🥓
Evan Bacon 🥓vor 1 Jahr

great, let me know how it goes!

Profilbild von Adiel Hercules
Adiel Herculesvor 1 Jahr

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

Profilbild von Evan Bacon 🥓
Evan Bacon 🥓vor 1 Jahr

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

Profilbild von Manish Baghel
Manish Baghelvor 1 Jahr

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

Profilbild von Evan Bacon 🥓
Evan Bacon 🥓vor 1 Jahr

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

Ähnliche Videos