正在加载视频...

视频加载失败

🚀 React Server Components are coming to every platform with Expo Router! To showcase all the new possibilities, I wrote the most powerful demo AI app I could think of—took less than a day to write, and it runs everywhere! Unlike traditional AI apps, which stream plain-text, Expo RSC...

170,742 次观看 • 2 年前 •via X (Twitter)

10 条评论

Evan Bacon 🥓 的头像
Evan Bacon 🥓2 年前

And the best part—it runs everywhere, natively. Specifically web, iOS, and Android. For the first time ever you will be able to build an app with shared server/static rendering, data fetching, bundle splitting, and file-based routing on all platforms with a single codebase!

Evan Bacon 🥓 的头像
Evan Bacon 🥓2 年前

Watch my talk at App.js conf to learn more: React conf version has a bit more info about how it works behind the scenes:

Oussama Bouthouri 的头像
Oussama Bouthouri2 年前

@expo The public is asking for the repo to be open-sourced!

Tommy Ayonz 的头像
Tommy Ayonz2 年前

@expo React server component only translates JS to html...how can it do that for react native that translate JS to native components?

Evan Bacon 🥓 的头像
Evan Bacon 🥓2 年前

@expo React renders views to Flights (aka RSC Payload). The framework can translate the payload to HTML or use it directly on a native client that can parse RSC.

Mauricio R. Duarte 的头像
Mauricio R. Duarte2 年前

@expo My dog 🐕 🐶 is barking asking for the source code

Yaşar 的头像
Yaşar2 年前

@expo Congrats, this is amazing work! Beta when 🙃

Evan Bacon 🥓 的头像
Evan Bacon 🥓2 年前

@expo considering releasing the app on test flight, need to add rate limiting though haha 💸 RSC beta planned for end of year/2025

José Diogo 的头像
José Diogo2 年前

@expo Hello @Baconbrix, as a Mobile Dev, I know some pain points of working with Apple, do you think they will be fully supportative of RSC?

Rob Funcken 的头像
Rob Funcken2 年前

@expo Are you considering open sourcing the code? Would like to learn some bits :)

相关视频