Skip to content

Update components/rendering guide #137

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

Merged
merged 6 commits into from
Mar 15, 2021
Merged

Update components/rendering guide #137

merged 6 commits into from
Mar 15, 2021

Conversation

arthurevans
Copy link
Contributor

Adds intro, interactive examples.

I am not real happy about the "Designing a performant template" section ... I think the info is good but the example is kind of longwinded. Welcome input on that.

I think Justin was the one who requested adding a "when components render" section, so let me know if this is what you were thinking of. (The info was already kind of there, but previously formed part of the "Designing a performant template" section.)

@github-actions
Copy link

github-actions bot commented Jan 30, 2021

A live preview of this PR will be available at the URL(s) below.
The latest URL will be appended to this comment on each push.
Each build usually takes around 7 minutes, and will 404 until finished.

https://pr137-ab07dd5---lit-dev-bvxw3ycs6q-uw.a.run.app/
https://pr137-dffc852---lit-dev-5ftespv5na-uc.a.run.app/

Copy link
Member

@kevinpschaaf kevinpschaaf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some initial feedback

@nicolejadeyee nicolejadeyee added this to the Website complete milestone Feb 10, 2021
Copy link
Member

@sorvell sorvell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't feel like this section is paying for itself. Suggest removing it and just putting links to the other relevant sections in the Overview: Shadow DOM, Lifecycle, and Template overview.

The part about the performant template maybe can be added as a sub-section to lifecycle#render.

@@ -6,79 +6,66 @@ eleventyNavigation:
order: 2
---

{% todo %}
A Lit component typically implements its UI by rendering an encapsulated DOM tree.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sentence isn't adding much for me. Remove?

@arthurevans arthurevans merged commit d3d418a into master Mar 15, 2021
@arthurevans arthurevans deleted the rendering-intro branch March 15, 2021 18:01
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

Successfully merging this pull request may close these issues.

4 participants