vugu / vugu

Vugu: A modern UI library for Go+WebAssembly (experimental)
https://www.vugu.org
MIT License
4.8k stars 175 forks source link

Render server side and client side #238

Open gedw99 opened 1 year ago

gedw99 commented 1 year ago

Are there examples of rendering server side and client side

the reasons are:

Keep google happy by going its search bot a static site . SSR - server side rendering.

keep users happy with a client side app.

my understanding is that Vugu is designed to do this and I am curious if it’s been done for a example doing both at the same time .

—-

as a side note with htmx we will be able to mix and match. From the client you can ask for a server rendered html and inject it into any part of the client dom. Htmx is cool and in many other ways.

https://github.com/orgs/vugu-examples/repositories

owenwaller commented 7 months ago

@bradleypeabody is this a reference to moving the testing approach to production?

Lord-Y commented 7 months ago

I personnally believe that's a must have for v1.

owenwaller commented 7 months ago

Issue #198 also discusses server side rendering.

I've marked both issues as TBD so that we review it before any v1.0 release and make a decision at that point.

I don't have a use case for server side rendering, but others may need it. So It's a balance based on limited resources. I'd rather go for a solid minimal v1.0 and then iterate on it but that's my personal view ATM.