Remix.run Logo
zdragnar 10 hours ago

It's not scalable to a small team either. The amount of copy/paste of markup I had to clean up on a site that didn't actually contribute to style, presentation or information was insane. Just divs and divs of tailwind classes all overriding each other or having no effect copy pasted everywhere.

Far better to have a tool that lets you define small, reusable, composable building blocks and let your team just use those.

debo_ 9 hours ago | parent | next [-]

Web components work ok, and so does templated html. I was making reusable html components with Django templates in like, 2008.

em-bee 10 hours ago | parent | prev | next [-]

exactly, even for a single person maintaining just a few pages with a bit of style and navigation is already a chore. i'd rather use a js framework or even xslt than edit the menu on every page, every time i need to add a new page.

wmanley 5 hours ago | parent [-]

With jinja you’d use template inheritance and just update the base template for this:

https://jinja.palletsprojects.com/en/stable/templates/#templ...

em-bee 5 hours ago | parent [-]

sure, that's just one of the many frameworks or tools i could use. the point is, there is no way to do that without any processing, either on the server or in the browser.

librasteve 10 hours ago | parent | prev [-]

just to mention you CAN do this with HTMX using a server side library… there are many, personally I like https://harcstack.org (because i wrote it)