1. React: Everything has to be specifically made for React, lots of patterns that shouldn’t be used, not actually reactive

  2. Angular: Old tech, bad syntax

  3. Vue: Bad ecosystem, doesn’t actually output HTML

  4. Svelte: Weird configuration system, odd issues

So… what do I actually use? There’s nothing that just provides a good working component system and works with GitHub Pages (i.e. a very static site). It’s… annoying

Jul 27, 2023, 6:34 PM
6 0 22

comments

You’re using web frameworks in GitHub Pages? Why? And how?

Because I don’t have any other way of doing it - I’d just like some HTML files with JavaScript inserted, not only some JavaScript stuff

turbowarp packager

hear me out, you can run js using the eval variable and you’ve also custom extensions. theoretically you could make a passable website

This is an interesting idea for a Turbowarp extension 🤔

you can even make a pc build if you want

Somehow I feel like this wouldn’t scale particularly well

dont know if you dont try

Probably just a regular project

vanilla html 🔥🥵

vanilla html: 😣

Yeah true, HTML’s component system is the best

that's what im saying!!

document.getElementsByClass("blockpost").map(x => x.getElementsByClass("postmsg").innerHTML)

what type of project are you working on?

I personally prefer using Next.js for non-static sites, but for static sites I usually choose React. It’s mostly just what I’m used to and there are a lot of other people using it so it has pretty good support and a lot of third party libraries, etc.

I really like the general way React works and looks but it feels like there’s so many ways to get it wrong…

It is probably the best solution, though.