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

Should innerHTML be able to take a Stream? #3197

Closed
samuelgoto opened this issue Nov 3, 2017 · 1 comment
Closed

Should innerHTML be able to take a Stream? #3197

samuelgoto opened this issue Nov 3, 2017 · 1 comment

Comments

@samuelgoto
Copy link

Given that a large number of apps use innerHTML to construct the DOM, and that a lot lead to taking strings that are fairly large and that come from servers, would it make sense to make innerHTML take something that is Streamable so that it can take things incrementally rather than synchronously? Any chance that could take things off of the main thread?

(filling retroactively from a discussion with @slightlyoff)

@domenic
Copy link
Member

domenic commented Nov 4, 2017

This is a dupe of #2142, although that issue is less specific about the proposed solution, so let's roll it into there :)

@domenic domenic closed this as completed Nov 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants