Hacker News new | ask | show | jobs
by e111077 1096 days ago
In that case why not just SSR lit on the backend and send that? It sounds like an unfair criticism otherwise
2 comments

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.
It's easy to add interactivity to a NextJS site when you need it.
Likewise with Lit, but that is besides the criticism that he was making earlier