You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can it possible be combined with Fable.Remoting and / or use a similar approach to have F# client + server, with zero-cost bundles and type-safe client-server communicationg ?
Any other thoughts on the topic, etc.
The text was updated successfully, but these errors were encountered:
TBH I've only read very briefly about React Server Components so I'm not sure. But I'm assuming this is only for node.js servers? If that's the case, I think it will be difficult because, although some devs use Fable to write node servers, most of F# devs use dotnet on the server side (if my intuition is correct). The most popular F# servers already can generate HTML. If the idea of having components that look like client components but are rendered on the server (is that the mechanism?) catches on, we'll probably need to develop our own solution that's compatible both with dotnet and Fable.
First of all, please take time to look into this feature in detail - it's all about sending JSON (or possibly any other structured data format) between server and client during server rending, instead of HTML (as of right now in SSR).
The concept is similar as if we were sending Elmish model, processed by a mailbox on the server to mailbox on the client.
And yes, i was talking about .NET backends mainly, not node.js backends
Recently, a new RFC was published called React Server Components, which brings a new life to "do it on the server" approach.
Related links:
https://github.com/reactjs/server-components-demo
https://www.youtube.com/watch?v=TQQPAU21ZUw
https://github.com/josephsavona/rfcs/blob/server-components/text/0000-server-components.md
I've got some questions to ask Fable team:
The text was updated successfully, but these errors were encountered: