@zens@merveilles.town I think we're talking about two completely different things. React, in and of itself, is nothing but a library that converts template + data -> HTML, with some conceptual support for incremental changes. That's it, really.

When running this server-side, you don't see any of this as the user. The server produces HTML just like it would with any other templating library - this doesn't break userscripts or userstyles, it's just HTML. In whatever shape you specify, with whatever CSS you specify, as with any other HTML.

What I'm referring to with "components" is entirely in the context of server-side templating, *not* stuff like "web components" - I mean reusable chunks of HTML like eg. the site header/footer, menus, that sort of thing.

Most every templater in the past decade+ (think eg. Jinja-type stuff) has *something* for this, but it's all extremely leaky and inflexible. That's the specific thing that React does better.

· · Web · 1 · 0 · 0
Sign in to participate in the conversation
Pixietown

Small server part of the pixie.town infrastructure. Registration is closed.