re-mdl
re-mdl copied to clipboard
API Standardization
putting on the big furry hat
- All components should accept a
:children
key to add arbitrary stuff (poured into the element withinto
), and those with a single subcomponent should have:child
additionally. - All handler fn keys should end in
-fn
, this will also help distinguish them from reagent handler keys - All class flag keys should match the part of the mdl class after the
--
and end in?
, somdl-badge--no-background
becomes:no-background?