Skip to content

Instantly share code, notes, and snippets.

muan /
Last active Apr 29, 2019
Web Components F2F Spring 2019

General philosophy

  • Features are built without JS first
  • Progressive enhancement Consider elements' relationship to the DOM
    • Minimum HTML generation
    • Leave styling to CSS classes
    • Create all necessary markup in the HTML document
    • Rely on native elements as much as possible (not reimplementing what native elements already know how to do)
  • Not using frameworks
muan /
Last active Dec 21, 2019
Details on details cheatsheet.