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

[docs] Add a gif of optimal DOM updates #449

Open
justinfagnani opened this issue Dec 21, 2018 · 2 comments
Open

[docs] Add a gif of optimal DOM updates #449

justinfagnani opened this issue Dec 21, 2018 · 2 comments

Comments

@justinfagnani
Copy link
Contributor

This could be on the home page, introduction, concepts, or all of the above.

Similar to: https://reactjs.org/docs/rendering-elements.html#react-only-updates-whats-necessary

@brettdewoody
Copy link

I could see this living in at least 2 places:

We can create a lit-html version of the React date rendering example for an apple-to-apples comparison, perhaps with a section title of 'lit-html Only Updates What's Necessary' and a quick explanation of what's happening. Here's a Codepen with the same example using lit-html.

And here's a gif showing the updates (slightly sped up):

lit-html-rendering-example

@brettdewoody
Copy link

@justinfagnani what are your thoughts on the above?

@graynorton graynorton changed the title Add a gif of optimal DOM updates [docs] Add a gif of optimal DOM updates May 20, 2019
sorvell referenced this issue in lit/lit Sep 1, 2020
Non-breaking fixes for minor issues.

* fixes lit-element/#722
* fixes lit-element/#890
sorvell referenced this issue in lit/lit Sep 2, 2020
Non-breaking fixes for minor issues.

* fixes lit-element/#722
* fixes lit-element/#890
@justinfagnani justinfagnani transferred this issue from lit/lit Aug 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants