vaadin / docs

Official documentation for Vaadin and Hilla.
https://vaadin.com/docs
Other
27 stars 170 forks source link

Hilla FAQ - SSR #3385

Open landsman opened 2 months ago

landsman commented 2 months ago

Hello guys,

I did not find any mention of SSR for the front end. I think that this is a crucial topic for frontend developers, who care about SEO.

Can you please write down if it's possible to use it or even use partial rendering?

I am missing it here: https://hilla.dev/docs/react/start/faq

I am happy to create PR if you provide me with info or links on how to make it work.


If you think this issue is important, add a 👍 reaction to help the community and maintainers prioritize this issue.

Legioth commented 2 months ago

Hilla does currently not target the type of application where SEO would be important. Furthermore, there's some significant technical challenges with server-side rendering of a TypeScript frontend on a Java server. I understand that this could be doable with GraalVM but that's quite a special case.

landsman commented 2 months ago

Okay, so client side only. This is important to say, ideally in FAQ. Do you agree?

Legioth commented 2 months ago

The FAQ might indeed be suitable since that's where we also describe how Hilla relates to various other similar-ish concepts such as Quarkus or microservices.

landsman commented 1 month ago

PR created, waiting for review.