Загрузка видео...

Не удалось загрузить видео

На главную

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 просмотров • 1 год назад •via X (Twitter)

Комментарии: 12

Фото профиля Evan Bacon 🥓
Evan Bacon 🥓1 год назад

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

Фото профиля Callstack Engineers
Callstack Engineers1 год назад

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
Gabriel Moreira1 год назад

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
Amy Chen1 год назад

Very cool 🤩

Фото профиля Nathan Walker
Nathan Walker1 год назад

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

Фото профиля Evan Bacon 🥓
Evan Bacon 🥓1 год назад

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

Фото профиля Lionel Nguyen
Lionel Nguyen1 год назад

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

Фото профиля Evan Bacon 🥓
Evan Bacon 🥓1 год назад

great, let me know how it goes!

Фото профиля Adiel Hercules
Adiel Hercules1 год назад

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

Фото профиля Evan Bacon 🥓
Evan Bacon 🥓1 год назад

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

Фото профиля Manish Baghel
Manish Baghel1 год назад

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

Фото профиля Evan Bacon 🥓
Evan Bacon 🥓1 год назад

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

Похожие видео