After years working with HTML and CSS, we have come to a surprising conclusion.
Avoid using CSS classes and className and classList when deriving styles based on some “state.” Instead, prefer HTML element attributes, and CSS attribute selectors.
— Me, this week, all the time
Continue reading “Custom Attributes are Fast, Good, and Cheap”
This is kind of a programming essay, focused on understanding events and actions. All mistakes herein are mine.
Systems are abstractions of our understanding of
Understanding is never entirely consistent nor entirely complete. We receive new information (an event) and may update our understanding – we may accept or reject the new information, and take any resulting action.
We can choose to ignore information, but we cannot choose to be “clueless” – that is our given state from which we grow.
Within any system, then…
Continue reading “Events Are Changes That May Or May Not Matter”