正在加载视频...

视频加载失败

holy smokes! It's alive! streaming on React Native out of the box using Expo 52 and the new expo/fetch library. This is a piece of the Expo Router RSC story but now RN is becoming a great alternative for AI apps that need streaming. This is gigantic. Amazing work...

81,261 次观看 • 1 年前 •via X (Twitter)

11 条评论

ROFI 的头像
ROFI1 年前

Will try to put in the work to react-native-vercel-ai to support this

EBellumat ᯅ 的头像
EBellumat ᯅ1 年前

@expo This is not just a `server side events` header used in the AI streaming? I did this with axios months ago. I'm not nitpicking here, just trying to understand the gains.

Kudo 的头像
Kudo1 年前

@expo thanks for trying out with the great ai showcase.

ROFI 的头像
ROFI1 年前

@expo Just a smol demo 😄 but I will continue to play with this all week for sure

Aviran Abady 的头像
Aviran Abady1 年前

@expo we didnt have that up to now?

ROFI 的头像
ROFI1 年前

@expo React native fetch api was lacking streaming. You could work out streaming with server side events setup though.

Terry Carson 的头像
Terry Carson1 年前

@expo Wow need to learn that one...thanks

AMANi 🦄 的头像
AMANi 🦄1 年前

@expo Wicked! That looks impressive as hell 👏🏽👏🏽👏🏽

Alex Shaw 的头像
Alex Shaw1 年前

@expo Finally!

xander 的头像
xander1 年前

@expo Is this expo router only? Can't find anything about expo/fetch in the Expo 52 docs

ROFI 的头像
ROFI1 年前

@expo part of expo 52 release

相关视频