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

Request: Some sort of support for .innerHTML optimization with hydratable #2152

Closed
Conduitry opened this issue Mar 3, 2019 · 0 comments
Closed
Labels
awaiting submitter needs a reproduction, or clarification feature request temp-stale

Comments

@Conduitry
Copy link
Member

Conduitry commented Mar 3, 2019

The .innerHTML optimization when creating blocks of static HTML is nice, but unfortunately it's not usable when compiling a hydratable component, which happens whenever you're compiling something for Sapper.

I understand the reasoning behind this limitation (we need to be able to access each of the separate DOM nodes to hydrate them), but this is still an unfortunate limitation. I have no idea of what another way of handling this would be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting submitter needs a reproduction, or clarification feature request temp-stale
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants