News for hackers. Stuff that matters.
Re:Web Components Eliminate JavaScript Framework Lock-In by davedx on Monday November 27, 2023 @01:28PM (#38436110)
React isn't legacy technology. What a perfidious statement.

I can easily justify the reasons I still use React, but I can't be bothered writing it out every time some gimmicky front-end tech hits HN.

Re:Web Components Eliminate JavaScript Framework Lock-In by sesm on Monday November 27, 2023 @02:32PM (#38437049)
Every alternative to React roughly fall into one of 3 categories:

1. Go back to reactive templates.

2. Sprinkle directives over plain HTML a-la early Angular 1.

3. HTML over the wire.

All those ideas pre-date React and React won against them back in 2014.

Re:Web Components Eliminate JavaScript Framework Lock-In by nicoburns on Monday November 27, 2023 @04:08PM (#38438293)
There is also

4. The React model but with compiler support to improve the ergonomics (and with better static checks).