Myaggic's Opinions

Literally who cares?

React

Created: 2024-08-12

As a bit of background, this website and my day job use Vue. This website in particular uses Nuxt with Nuxt Content, for ease of writing. I learned React a bit in college and have worked with it in other projects.

React is fine. I think it's really cool how you can write small functions to generate small pieces of UI where you would otherwise have to add in a verbose-looking v-if statement in vue, if you don't decide to use a whole component instead.

I do however wish it was more straightforward. In many cases, you have to be concerned with how things update, otherwise your entire component tree will rerender and that's a bad thing. Vue is smart about it, and updates what needs to update only when it needs to. At least most of the time.

I am glossing over a bunch of things obviously. React is definitely getting better about it with signals and fine-grained whatever, and vue definitely isn't perfect in that department either. Vue has just been a lot easier to get a hang of. Especially when React is constant rewriting how the whole system works every major version.