discussions-and-proposals
discussions-and-proposals copied to clipboard
[RFC] a pure serverside react native which always render in browser like blazor server side
Introduction
A full server-side react native(render remote in browser) for easy and fast desktop/mobile app development like Microsoft Blazor ServerSide, https://docs.microsoft.com/en-us/aspnet/core/blazor/hosting-models?view=aspnetcore-6.0 ,
)
Details
a new react-native Reconciliation, which split diff/patch two-part, one on the main thread like, and another on native browser control!
maybe need something like host.js to create RPC for diff tunnel/UI event tunnel.
Discussion points
-
who needs it? the desktop developer which may need the react ecosystem support! code reuse for desktop/mobile/web fast prototype and deploy
-
possible? sure, as react for android/ios/threejs possible, there is no limit here, but also the magic of web technology
-
valueable
I think so, as now Microsoft MAUI, Google Flutter all seems cross-platform already or in the future, but also for JetBrains.
-
more to consider
some little react to support both React Web/React Native/React Remote?
-
why?
the productivity/the web ecosystem/the react ecosystem and hate about Microsoft's slow and messy, https://github.com/dotnet/Microsoft.Maui.Graphics.Controls/issues/57
ref:
- https://reactnative.dev/docs/out-of-tree-platforms
- https://indepth.dev/posts/1008/inside-fiber-in-depth-overview-of-the-new-reconciliation-algorithm-in-react
- https://hackernoon.com/virtual-dom-reconciliation-and-diffing-algorithm-explained-simply-ycn34gr
- https://css-tricks.com/how-react-reconciliation-works/
- https://mobidev.biz/blog/how-react-native-app-development-works
- https://reactnative.dev/docs/out-of-tree-platforms
- https://www.codemag.com/article/1701071/Cross-Platform-Mobile-Applications-with-React-Native
- https://github.com/dotnet/Microsoft.Maui.Graphics.Controls/issues/57
- https://www.tryphotino.io/
- https://pterolex.github.io/presentation-build-your-own-rn/
- a magic introduction about how react native connect & bind to react native side was lost!
This seems very cool https://github.com/calderajs/caldera-react