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!
@ExpoDevelopers2 ай бұрын
Very nice demo Jack. Thanks for sharing!
@ryansatriayudha2 ай бұрын
Does that mean that React Native Expo now is already full stack on its own just like Next.js?
@irjamon2 ай бұрын
Awesome video, Jack! Thanks for doing such a great job explaining RSCs in React Native / Expo. Even I learned some things …
@raddadslab50972 ай бұрын
Another Portland DEV! Thats so cool! Small world. That conference sounds cool.
@irjamon2 ай бұрын
Would love to have you next time!
@shrutikapoor082 ай бұрын
Love this Jack!
@orangekanso2 ай бұрын
Great video, thank you, Jack!
@YasinAkimura2 ай бұрын
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
@andreaspaayt3 күн бұрын
Jack, consider doing a follow-up video?
@aymenbachiri-yh2hdАй бұрын
Thanks for sharing
@Korosu-ty5ir2 ай бұрын
awesome
@abannsunny35152 ай бұрын
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?
@jherr2 ай бұрын
Gooood question.
@Baconbrix2 ай бұрын
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.
@lukemontana97922 ай бұрын
great
@MMMH-f3oАй бұрын
Hello, can you share the vscode theme you are using?
@vvvvvvvvvwv2 ай бұрын
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?
@ryansatriayudha2 ай бұрын
Does that mean that React Native Expo now is already full stack on its own just like Next.js?
@luix96122 ай бұрын
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
@keepforever7262 ай бұрын
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?
@nikhilpsathyanathan2 ай бұрын
I'm thinking the same stuff
@devkumar98892 ай бұрын
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Ай бұрын
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
@vetrivendhan61222 ай бұрын
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?
@carlosterrazas891324 күн бұрын
I have the same question. if there is optimisation I would use this technique.
@BenKingUK2 ай бұрын
This seems like a huge nightmare for versioning, dependencies, backwards compatibility... what am I missing?
@carlosterrazas891324 күн бұрын
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.
@jherr23 күн бұрын
You can update your native app by just rolling a new version to the server, avoiding store updates.
@ThomazMartinez2 ай бұрын
whos server it sends it from?
@IamYouWeAreEveryone2 ай бұрын
mine
@maddog26222 ай бұрын
No it’s mine
@noobdragon61152 ай бұрын
Its Mine, okay, no more discussion
@leularia2 ай бұрын
@@noobdragon6115 but no it's not
@twenty9str49814 күн бұрын
where does the server exist? is it in your phone? appstore? or what?
@jherr14 күн бұрын
You deploy it to a hosting service. For example, you can deploy it to Expo's EAS service.
@edunomatseye72622 ай бұрын
This is going to be revolutionary, having a native React app access server functionalities within its scope. Fire. 🔥🔥
@DjLeonSKennedy2 ай бұрын
Didn't catch, what doesn't mean "server"? server is running inside app?
@jherr2 ай бұрын
No. It's a deployed web server.
@DjLeonSKennedy2 ай бұрын
@ eeeeeeeemm, but mobile apps are about offline also, aren’t they?
@jherr2 ай бұрын
@@DjLeonSKennedyyou can use the fallback for that.
@DjLeonSKennedy2 ай бұрын
@@jherr fallback? okay
@jherr2 ай бұрын
@@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.
@cunningham.s_law2 ай бұрын
so expo is gonna become vercel smart move
@KnowledgeDBman2 ай бұрын
What about NextJS with React Native?
@jherr2 ай бұрын
That would not be compatible with this RSC method currently. But a RN app could call API endpoints on a NextJS server.
@KnowledgeDBman2 ай бұрын
@@jherr Thought so. Thanks my friend anyway :)
@notarealperson97092 ай бұрын
but typescript/javascript on the server feels so wrong
@nightlight32122 ай бұрын
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
@RobertoFabrizi2 ай бұрын
Am I the only one that gets old school jsp / monolithic applications vibes?
@sachinmogha51682 ай бұрын
Sir pls give Black Friday discount on you ProNextJS course. All other are offering. Josh is also offering.
@whynot99632 ай бұрын
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-qj1wo2 ай бұрын
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.
@irjamon2 ай бұрын
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. 😅
@yvesrobertcharlesthior2 ай бұрын
first here lol !😀😀
@yvesrobertcharlesthior2 ай бұрын
following you sir from Dakar in Senegal. and i really apreciate your content. willing to learn more from you.
@selloramolelle2 ай бұрын
On the pipeline, nextjs for react native 😅
@mikkelwf19842 ай бұрын
expo is already there
@selloramolelle2 ай бұрын
@mikkelwf1984 obviously but that's not the point lol
@genkophАй бұрын
react ecosystem is getting weirder by the day
@omega.developer2 ай бұрын
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?