docs icon indicating copy to clipboard operation
docs copied to clipboard

Hilla FAQ - SSR

Open landsman opened this issue 9 months ago • 4 comments

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.

landsman avatar Apr 25 '24 12:04 landsman

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.

Legioth avatar Apr 25 '24 12:04 Legioth

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

landsman avatar Apr 25 '24 12:04 landsman

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.

Legioth avatar Apr 25 '24 12:04 Legioth

PR created, waiting for review.

landsman avatar May 15 '24 06:05 landsman