Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jpalala/516913cf10dc943c069c71837af5a87b to your computer and use it in GitHub Desktop.
Save jpalala/516913cf10dc943c069c71837af5a87b to your computer and use it in GitHub Desktop.
Web Component Insights
Building component - determine what is permanent markup and dynamic markup (if dynamic - could be extensible via component argument?)
Or is it content?
When to know if its for content: Is it possible other people will write other of html markup.
For example, in a form, there are input controls. If people can possibly put a dropdown (`<select>`), make your component style be able to handle that.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment