Trying to convince boss to switch from Angular to something else, he only accepts React.
So, we have a project, it's a Dashboard app, I coded both the frontend and the backend all by myself, the backend is a Go dedicated backend, but I hate everything about working with Angular, and every second of needing to deal with every little Angular problem frustrates me deeply.
My boss mentioned using React, but I haven't used React in a while (even before NextJS was a thing), so, in my case SSR is a still a good idea? Or just keep with SPA? What are even people using for Angular SPAs now? Just Vite?
I usually work with Svelte for personal projects, so I don't know what to do in this sense.
8 Replies
Dashboard apps are one of those cases where SPA's often deliver the best UX, it's really dependent on what kind of stuff you're doing though. Vite is the go to for React SPA's, or Remix SPA if you want to try something a bit newer
For dashboards Vite + React + Tanstack Router is the best stack
how about Astro w/ React and Svelte components
What's the benefits of Tanstack router against React Router DOM?
better typesafety. If a link is incorrect, you get a typescript error. Also it's nice for dashboards because you can have typesafe query params and you can encode state like table filters into the url. You can load data with loaders and then send mutations to your api with tanstack query.
Will take a look at it!
Also Theo has a video on it https://youtu.be/DrP8gIpwkUg
Theo - t3․gg
YouTube
I Waited 3 Years For This Router. It STILL Blew My Mind.
Man, Tanstack router is dope. Hyped for Tanner and everyone else who contributed. Can't wait to see where things go.
ANNOUNCEMENT VID: https://twitter.com/tannerlinsley/status/1738709130213560497
Docs: https://tanstack.com/router/v1
Keywords REACT ROUTER TANSTACK REACT LOCATION REACT QUERY ROUTING URLS SEARCH PARAMS QUERY PARAMS LINKS
Check o...
I was already having issues with react router
So I will definitely take a look at it