Skip to content

Latest commit

 

History

History
8 lines (8 loc) · 407 Bytes

File metadata and controls

8 lines (8 loc) · 407 Bytes
  • as much reuse as possible
  • components do not make network calls; they support injecting as much data externally as possible
  • avoid ids when to necessary:
    • bubbles: true for events
    • this.querySelector('[data-{attr}]') pattern for partially updateable/configureable elements
  • more explicit deps between components?
  • refactor attrs vs props when/where needed which
  • dev scoped deps for server!