React-Native Server Components! Change Your Native UI From Your Server!

  Рет қаралды 9,878

Jack Herrington

Jack Herrington

Күн бұрын

Пікірлер: 58
@DominiqueBello
@DominiqueBello Ай бұрын
You give replies to my questions just before I formulate them! R-N-SCs are fantastic! Thanks a lot for your crystal clear explanations as usual!
@ExpoDevelopers
@ExpoDevelopers Ай бұрын
Very nice demo Jack. Thanks for sharing!
@ryansatriayudha
@ryansatriayudha Ай бұрын
Does that mean that React Native Expo now is already full stack on its own just like Next.js?
@irjamon
@irjamon Ай бұрын
Awesome video, Jack! Thanks for doing such a great job explaining RSCs in React Native / Expo. Even I learned some things …
@raddadslab5097
@raddadslab5097 Ай бұрын
Another Portland DEV! Thats so cool! Small world. That conference sounds cool.
@irjamon
@irjamon Ай бұрын
Would love to have you next time!
@orangekanso
@orangekanso Ай бұрын
Great video, thank you, Jack!
@shrutikapoor08
@shrutikapoor08 Ай бұрын
Love this Jack!
@abannsunny3515
@abannsunny3515 Ай бұрын
How does the publish look like for something like this? Will it be a 2 step publish? How will you coordinate the app store publish and the api publish?
@jherr
@jherr Ай бұрын
Gooood question.
@Baconbrix
@Baconbrix Ай бұрын
Once this out of developer preview you'll be able to run "eas build" to build, deploy, and link everything together. We'll also have a more custom pipeline for more advanced deployment.
@YasinAkimura
@YasinAkimura Ай бұрын
That's really cool! But that rises a few questions as applications could be entirely streamed from the server depending on the use case it can be a great experience for customers or a worse but for me thats a door to quickly get out some important bug fixes which are not caused by native code! I am also interested in how this might play out with static hermes could we stream machine code to devices (very difficult to validate) or efficient hermes byte code what‘s the current real output of the server? Sending raw Javascript would sound very bad when using hermes as it shines by using the byte code directly
@aymenbachiri-yh2hd
@aymenbachiri-yh2hd 24 күн бұрын
Thanks for sharing
@vvvvvvvvvwv
@vvvvvvvvvwv Ай бұрын
How do you handle versioning with this setup? Users are not always going to update to the latest version of the app right away and there's going to be days of turn around time with getting an app update out. How do you make sure you're not including code in the server component that's going to blow up on the client?
@vetrivendhan6122
@vetrivendhan6122 Ай бұрын
I know server side rendering in the Next JS for performance and SEO optimization. Does SSR helps React Native too? What are is benifits guys?
@carlosterrazas8913
@carlosterrazas8913 6 күн бұрын
I have the same question. if there is optimisation I would use this technique.
@MMMH-f3o
@MMMH-f3o Ай бұрын
Hello, can you share the vscode theme you are using?
@Korosu-ty5ir
@Korosu-ty5ir Ай бұрын
awesome
@ThomazMartinez
@ThomazMartinez Ай бұрын
whos server it sends it from?
@IamYouWeAreEveryone
@IamYouWeAreEveryone Ай бұрын
mine
@maddog2622
@maddog2622 Ай бұрын
No it’s mine
@noobdragon6115
@noobdragon6115 Ай бұрын
Its Mine, okay, no more discussion
@leularia
@leularia Ай бұрын
@@noobdragon6115 but no it's not
@keepforever726
@keepforever726 Ай бұрын
Where is "the server" in this paradigmn if this was a real deployed application? Does the native code on the phone act as the server? Or do you need a server deployed somewhere to handle the serverside operations if you actually deployed this?
@nikhilpsathyanathan
@nikhilpsathyanathan Ай бұрын
I'm thinking the same stuff
@ryansatriayudha
@ryansatriayudha Ай бұрын
Does that mean that React Native Expo now is already full stack on its own just like Next.js?
@devkumar9889
@devkumar9889 Ай бұрын
So is it like server components will be ready to be rendered by react native and server will send xmls/configs to render then only those components render at run time ?? Or server will send entire component and then it will be dynamically rendered by js runtime at run time ??
@lessko9
@lessko9 Ай бұрын
RSC is a different thing from SSR, - SSR is where react goes to the server ONCE and then everything else is handled by the client. - RSC is when React runs ALWAYS on the server
@luix9612
@luix9612 Ай бұрын
I don't get it, so the component lives within the app and it's instantiated with the server response, I understand that now your server logic and types is handled within the same project but calling it server components seems kinda weird, it's more like server actions or something along the lines
@carlosterrazas8913
@carlosterrazas8913 6 күн бұрын
What improvement is there if we use RSC in react native? benefits? or the video is just smoke, many people ask the same question and you don't answer.
@jherr
@jherr 5 күн бұрын
You can update your native app by just rolling a new version to the server, avoiding store updates.
@lukemontana9792
@lukemontana9792 Ай бұрын
great
@BenKingUK
@BenKingUK Ай бұрын
This seems like a huge nightmare for versioning, dependencies, backwards compatibility... what am I missing?
@DjLeonSKennedy
@DjLeonSKennedy Ай бұрын
Didn't catch, what doesn't mean "server"? server is running inside app?
@jherr
@jherr Ай бұрын
No. It's a deployed web server.
@DjLeonSKennedy
@DjLeonSKennedy Ай бұрын
@ eeeeeeeemm, but mobile apps are about offline also, aren’t they?
@jherr
@jherr Ай бұрын
@@DjLeonSKennedyyou can use the fallback for that.
@DjLeonSKennedy
@DjLeonSKennedy Ай бұрын
@@jherr fallback? okay
@jherr
@jherr Ай бұрын
@@DjLeonSKennedy Alternatively you could run the server function on mount and only on success replace a built version of the component that is part of the distro. Basically the same thing, but you get more control.
@edunomatseye7262
@edunomatseye7262 Ай бұрын
This is going to be revolutionary, having a native React app access server functionalities within its scope. Fire. 🔥🔥
@notarealperson9709
@notarealperson9709 Ай бұрын
but typescript/javascript on the server feels so wrong
@nightlight3212
@nightlight3212 Ай бұрын
This is a mentality that people need to get out of their heads. Millions of applications are powered by server side JavaScript, even at large companies like Netflix, Google, etc
@KnowledgeDBman
@KnowledgeDBman Ай бұрын
What about NextJS with React Native?
@jherr
@jherr Ай бұрын
That would not be compatible with this RSC method currently. But a RN app could call API endpoints on a NextJS server.
@KnowledgeDBman
@KnowledgeDBman Ай бұрын
@@jherr Thought so. Thanks my friend anyway :)
@cunningham.s_law
@cunningham.s_law Ай бұрын
so expo is gonna become vercel smart move
@RobertoFabrizi
@RobertoFabrizi Ай бұрын
Am I the only one that gets old school jsp / monolithic applications vibes?
@sachinmogha5168
@sachinmogha5168 Ай бұрын
Sir pls give Black Friday discount on you ProNextJS course. All other are offering. Josh is also offering.
@whynot9963
@whynot9963 Ай бұрын
Looks good from an engineering perspective. Makes 0 sense to use this in production. Using base64 is downside in every way, tying backend to mobile app (wtf). Great video, as always, though. I just don't see this being useful. I have been wrong before
@JakobRossner-qj1wo
@JakobRossner-qj1wo Ай бұрын
Native devs often don't want to think about servers but at some point they need. Where is the data coming from???? There is always a backend and a frontend and it just makes sense to close the gaps to allow faster and better development.
@irjamon
@irjamon Ай бұрын
I think what we will see is that there will be a front end (app, web), you’ll have a back end server, and then you’ll have an RSC server which acts as a go-between between clients and the back end and provides a really nice DX for both. You can then have a variety of back ends and services that the RSC server ties together nicely. I’ve been wrong before too. 😅
@selloramolelle
@selloramolelle Ай бұрын
On the pipeline, nextjs for react native 😅
@mikkelwf1984
@mikkelwf1984 Ай бұрын
expo is already there
@selloramolelle
@selloramolelle Ай бұрын
@mikkelwf1984 obviously but that's not the point lol
@yvesrobertcharlesthior
@yvesrobertcharlesthior Ай бұрын
first here lol !😀😀
@yvesrobertcharlesthior
@yvesrobertcharlesthior Ай бұрын
following you sir from Dakar in Senegal. and i really apreciate your content. willing to learn more from you.
@genkoph
@genkoph 19 күн бұрын
react ecosystem is getting weirder by the day
@omega.developer
@omega.developer Ай бұрын
who uses/stick to the react native cli instead of expo cli? please like this comment. i don't use expo and don't want to use it. who agrees?
And Now You Understand React Server Components | Kent C. Dodds
21:46
Mobile Devs Hate Servers. Expo Wants To Fix That.
16:05
Theo - t3․gg
Рет қаралды 77 М.
OCCUPIED #shortssprintbrasil
0:37
Natan por Aí
Рет қаралды 131 МЛН
This Took Me 150 Hours to Code
16:40
Kenny Gunderman
Рет қаралды 354 М.
React Native Debugging: From JS to Native
14:25
Simon Grimm
Рет қаралды 9 М.
Expo SDK 52: Our largest release ever!
10:51
Expo
Рет қаралды 32 М.
5 Hidden React Server Function TRAPS Beginners Fall Into
21:31
Jack Herrington
Рет қаралды 11 М.
React server components from scratch!
19:43
Ben Holmes
Рет қаралды 38 М.
The Biggest Mistake Intermediate React Developers Make
18:32
Cosden Solutions
Рет қаралды 47 М.
Turn ANY Website into LLM Knowledge in SECONDS
18:44
Cole Medin
Рет қаралды 111 М.
React Server Components are a bad choice (for shipping)
7:31
Aaron Francis
Рет қаралды 11 М.