Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSR implementation plan #1698

Open
bigopon opened this issue Mar 6, 2023 · 0 comments
Open

SSR implementation plan #1698

bigopon opened this issue Mar 6, 2023 · 0 comments

Comments

@bigopon
Copy link
Member

bigopon commented Mar 6, 2023

There are a few features to implement before we can deliver SSR:

  1. The abiility to render an application in the server to a html, and:
  • the ability to have dom like environment for template to render, like HTMLElement but lighter weight and just need to be enough to support this rendering mode
  1. The ability to hydrate an existing dom structure based on a given custom element/ view (from template controller) definition. This is different with enhance:
  • enhance takes an existing element as the template
  • hydrate reuses an existing element as the output of the rendering process and apply correct instruction to different elements within this dom structure.
    This is the most challenging part since there' a few ways instructions and DOM can be merged: custom element, slot, portal, au-compose, router at the moment.
    This'll need to work with the server side rendered html above
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant