DioxusLabs / dioxus

Fullstack GUI library for web, desktop, mobile, and more.
https://dioxuslabs.com
Apache License 2.0
19.3k stars 735 forks source link

hybrid web renderer #2563

Open pratikpparikh opened 2 days ago

pratikpparikh commented 2 days ago

Is it possible to create a hybrid web renderers rather then combined web and liveview under one application? This question might be because i am new here and I am trying to understand if this is possible.

ealmloff commented 2 days ago

There was some discussion of embedding web only components in liveview applications in https://github.com/DioxusLabs/dioxus/issues/1988. However, Dioxus will be moving support for liveview into a community maintained crate in the future in favor of fullstack. Fullstack acts kind of like a hybrid between web and liveview. Ideally, you get all the offline support and web-sys compatibility of web while still interacting with the server inline in your application with server functions.

pratikpparikh commented 2 days ago

@ealmloff thank you for quick response it does make sense. Ideally if you convert liveview and web as composite components it can maybe provide the architecture freedom for being utilized in fullstack or standalone. Just a food for thought. Not sure what is the feasibility of it, but i have seen that this kind of architecture can solve most requirements without consolidating purpose focused features.