Re:UnsuckJS: Progressively enhance HTML with lightweight Jav...
by e111077 on Thursday June 15, 2023 @03:29PM
(#36345331)
In that case why not just SSR lit on the backend and send that? It sounds like an unfair criticism otherwise
[ Parent
| on HN ]
Re:UnsuckJS: Progressively enhance HTML with lightweight Jav...
by robertoandred on Thursday June 15, 2023 @04:27PM
(#36346042)
It's easy to add interactivity to a NextJS site when you need it.
Re:UnsuckJS: Progressively enhance HTML with lightweight Jav...
by e111077 on Thursday June 15, 2023 @06:06PM
(#36347296)
Likewise with Lit, but that is besides the criticism that he was making earlier
Re:UnsuckJS: Progressively enhance HTML with lightweight Jav...
by satvikpendem on Thursday June 15, 2023 @06:25PM
(#36347519)
I have the full React framework and ecosystem if I so choose to use it. For example, I could use something like react-three-fiber to add 3D or Framer Motion to add animations yet fall back to not having those when JS is disabled. Sure you could do the same in Lit but those libraries aren't present or as robust as in React.