Loading video...

Video Failed to Load

Go Home

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 views • 1 year ago •via X (Twitter)

11 Comments

ROFI's profile picture
ROFI1 year ago

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

EBellumat ᯅ's profile picture
EBellumat ᯅ1 year ago

@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's profile picture
Kudo1 year ago

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

ROFI's profile picture
ROFI1 year ago

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

Aviran Abady's profile picture
Aviran Abady1 year ago

@expo we didnt have that up to now?

ROFI's profile picture
ROFI1 year ago

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

Terry Carson's profile picture
Terry Carson1 year ago

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

AMANi 🦄's profile picture
AMANi 🦄1 year ago

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

Alex Shaw's profile picture
Alex Shaw1 year ago

@expo Finally!

xander's profile picture
xander1 year ago

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

ROFI's profile picture
ROFI1 year ago

@expo part of expo 52 release

Related Videos