r/programming • u/KerrickLong • Mar 09 '25
Introducing command And commandfor In HTML
https://developer.chrome.com/blog/command-and-commandfor
92
Upvotes
r/programming • u/KerrickLong • Mar 09 '25
View all comments
Show parent comment
11
u/SnS_Taylor Mar 09 '25
Exposing the primary key in HTML is a bad idea. Also, this is less often the case than you might think.
I agree with the general sentiment. The overhead of creating an actually unique ID is quite high. JS and frameworks are much more straightforward and compartmentalized.