正在加载视频...
视频加载失败
🚀 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... show more
10 条评论

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!

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:

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

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

@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.

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

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

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

@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?

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