News for hackers. Stuff that matters.
Re:I love React Hooks by crooked-v on Wednesday February 20, 2019 @02:26AM (#19206272)
To me, Web Components are bound by the fundamental anti-pattern of having to globally register unique tag names. Didn't people already learn the problems with doing this from Angular 1?
Re:I love React Hooks by pjmlp on Wednesday February 20, 2019 @03:04AM (#19206403)
Because the best practice is to prefix them anyway, following up on XML namespaces?
Re:I love React Hooks by crooked-v on Wednesday February 20, 2019 @04:00PM (#19211929)
The contrast I mean to emphasize is React, where the tag you use is either an actual var declaration or a string placeholder for a browser (or other environment) built-in.