Skip to content

Commit

Permalink
[On-Demand Definitions] Initial draft (#67)
Browse files Browse the repository at this point in the history
* Adds initial draft of the static `define` proposal.

* fixup! Renames proposal to "On-Demand Definitions"

* fixup! Updates HydroActive discussion with new API and usage of this proposal.

* fixup! Adds some sections based on initial feedback and updates example implementation to match.

* fixup! Updates template status to "Proposal" as that is the first stage of a community protocol.

* fixup! Adds sections on development-only checks, an alternative convention which inlines the `define` implementation at its usage sites, and an alternative using `customElements.whenDefined`.

Also makes various minor readability improvements and acknowledges the new scoped custom element registries proposal.

* fixup! Revert edits to `proposal-template.md`, which was separated into a distinct PR.
  • Loading branch information
dgp1130 authored Jan 30, 2025
1 parent 4f79699 commit d81a5fb
Showing 1 changed file with 948 additions and 0 deletions.
Loading

0 comments on commit d81a5fb

Please sign in to comment.