DioxusLabs / dioxus

Fullstack app framework for web, desktop, mobile, and more.
https://dioxuslabs.com
Apache License 2.0
21.44k stars 826 forks source link

Merge liveview/livecomponents into fullstack #2007

Closed jkelleyrtp closed 7 months ago

jkelleyrtp commented 8 months ago

Feature Request

With the big push to make our tooling better, LiveView is a bit of an extraneous target. As we push forward on fullstack stuff, LiveView will likely need to take a backseat.

I propose that we merge the concept of liveview and livecomponents into our fullstack offering, in the same way that Phoenix LiveView is an extension of the fullstack Phoenix framework.

This means we can solve things like liveview hydration, asset integration, hotreloading, etc without needing to duplicate work.

We should do this in the 0.6.0 release so the tooling will be easier to implement in 0.7.0

jkelleyrtp commented 7 months ago

Talked about it and LiveView will be relegated to a tier2 target - no changes will be made to liveview but also not many new features either. We'll bring a number of liveview's advantages into fullstack (sockets, signals, etc) to make dioxus fullstack feel very similar to liveview, but the underlying tenant of entirely server-managed state will no longer be a Tier 1 renderer.