invent
invent copied to clipboard
Address tech debt: better (more meaningful and human friendly) auto-generated ids.
Currently DOM ids are something like invent-62h3kdg21k
. They could be more meaningful like: invent-button-click-me
(taking invent
+ the component type [button
] and a slugged button label [click me
]). The heuristics for such names probably live in the class defining the component to be given an ID (i.e. the Button
knows how to create human friendly unique button ids).