top | item 32763918

(no title)

pixard | 3 years ago

I work with React (Next.js) on my main project and while I don't appreciate some things generally I haven't had any issues and Next.js in particular has been great. I also find JSX stellar.

I used Vue from 0.12 until around ~2.5, I really liked it at the beginning (coming from a jQuery only world) but I was forced into learning React for React Native and then I kind of standardized on it for a while and Vue fell off.

I used Svelte for a side project recently and it was quite enjoyable but I do really miss JSX and I don't like the $: syntax. I plan to give SolidJS a try on my next side project and then I'll standardize on either Svelte or SolidJS for side projects and React for big things.

Since Svelte and SolidJS are such great options for smaller things I kind of don't have a use case for Vue anymore, but I do remember it fondly.

discuss

order

mccorrinall|3 years ago

I like NextJS too, except for the API part. The DX is so poor compared to e.g. fastify.

Want to only allow a specific http method for this route? Have fun adding boilerplate.

Want to throw a specific http error like 403? Have fun writing this by hand.

It also lacks schema validation (I’d love to see ajv here) and openapi gen. You have to write everything. by. yourself.

scrollaway|3 years ago

I like NextJS for the frontend and django-ninja for the backend. django-ninja has all those things you mention and way more, and has a very rich backend ecosystem thanks to being in the django world. https://django-ninja.rest-framework.com/

FastAPI is also great but a little more involved. It's good if you don't want to be in the Django world.

jjdeveloper|3 years ago

Next.js saved me from the mess that was Gatsby and have used it for many projects but these days I find Astro simplifies things even more and has become my go to tool.

chimen|3 years ago

what does astro simplify?

halfmatthalfcat|3 years ago

Might want to check out Remix too, though I ended up going back to Next due to ergonomics and also just generally more experience Nexting.

zozbot234|3 years ago

What's wrong with Svelte or SolidJS for "big things"? Do they limit scalability in some way?

depressedpanda|3 years ago

Mainly that the eco system is smaller. This means fewer third party libraries, fewer people who know it already, and fewer articles online about how to solve specific problems.

shroompasta|3 years ago

Svelte is a solution to a problem that doesn't need to be solved.

almost with many things in software development to be honest.

ezfe|3 years ago

Not having two DOMs running for every website is nice