feat: skill for web component#738
Draft
castastrophe wants to merge 2 commits into
Draft
Conversation
5bdee1f to
2cdfdcb
Compare
2cdfdcb to
3b65d7b
Compare
9dee72b to
30e1f4f
Compare
First pass at documenting best practices and decision frameworks around building out custom elements.
Reorganize the draft into split-ready, self-contained sections that each map 1:1 to a potential standalone guide: - Trim Custom Elements to lead with common pitfalls (upgrade timing, :defined, reflection loops, observedAttributes discipline) - Merge HTML Templates & Slots into Shadow DOM; add slotchange coverage - Add a Declarative Shadow DOM section (SSR, hydration timing, FOUC) - Split Semantics/Accessibility/Forms into Form-Associated Custom Elements and Accessibility - Expand Styling coverage (:host-context, exportparts, @layer, container queries) - Slim the TOC and remove cross-section references
30e1f4f to
b21d2a4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Still in-progress but please do add your feedback!