Full stack web engineer.
The typical stack I like to work in these days is Next.js with a custom express server, and in that server is an Apollo GraphQL layer so that I can make requests to the same server.
I was curious about how to do react-like things myself without relying on innerHTML or, frankly, any dependencies. It ended up quite easy.
First, fragments via document.createDocumentFragment() are pretty magical. They exist in memory and…
If you use props to dictate styles in S-C, then I’m sure you’ve noticed that it creates duplicate styles blocks for each iteration.