3 ms·
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 gr
by pixard 4y 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.
- mccorrinall 4y agoI 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 4y agoI 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/ 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.
- mccorrinall 4y agoYes, there are many solutions to this problem if you don’t mind hosting yet another service, but the best would be if the integrated API routes wouldn’t suck so hard.
- zozbot234 4y agoWhat's wrong with Svelte or SolidJS for "big things"? Do they limit scalability in some way?
- depressedpanda 4y agoMainly 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.
- jjdeveloper 4y agoNext.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 4y agowhat does astro simplify?
- halfmatthalfcat 4y agoMight want to check out Remix too, though I ended up going back to Next due to ergonomics and also just generally more experience Nexting.
- shroompasta 4y agoSvelte is a solution to a problem that doesn't need to be solved. almost with many things in software development to be honest.
- ezfe 4y agoNot having two DOMs running for every website is nice
- shroompasta 4y agoi agree, but not a critical issue. In less than a decade, i'm already guessing less than 5 years, WASM will come out with a viable frontend solution that will actually be groundbreaking. The battles between frontend philosophies in javascript will look like child's play then. I'm not going to waste anymore time switching FE frameworks (Jquery->Angular->React), as I've found that it's been quite useless (Although I really liked Solid - shame their animation libraries suck and the overall environment isn't mature enough). I'm happy with React. Performance isn't an end all be all. Svelte doesn't have a chance to match the hiring pool of React, nor will Svelte Native ever compete with React Native in maturity. In 5-7 years, we will be talking about ending the use of Javascript on the Frontend, So i really don't care about reactivity.
- ttfkam 4y ago> In 5-7 years, we will be talking about ending the use of Javascript on the Frontend The same prediction has been made for the last 25 years. Having seen the rise and fall of VBScript, Flash, Silverlight, Java applets, and countless others, I would not be so blasé as you about the imminent demise of JavaScript. There is a profoundly strong possibility that you are dead wrong.