Skip to content

A Note to server-side rendering #23

@chmich

Description

@chmich

Thank you for this approach. I see this as the way to go for >=Rails 7 if we want to build modern and sophisticated applications with all the advantages of our beloved Rails.

What I miss most is server-side rendering on first load.

Together with Turbo, this is in most cases only necessary on first load, because after first load the custom elements are already built. But on first-load, you always have this unpleasant blink because all the html arrives rendered ready, while the custom elements have to be built on the frontend. And this makes the app look less stable.

react-on-rails does SSR, and svelte-kit too.

But of course this is a bigger task and I have not had the time to write such a gem. But this is where I see the biggest hurdle for integrating these highly interactive elements into Rails.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions