While moving to NextJS for my new projects, I’m looking at going more full-stacking with typescript, as we’re probably past the point of SPA being used for everything.
My last work projects have been using Create-React-App, but it’s been past it’s best before date for years now; ever since Facebook decided to stop participating in it.
Table of contents
Open Table of contents
NextJS 13
As a replacement for CRA, NextJS brings everything i need and more. I’m mostly excited about SSR/SSG (static rendering/generation) and the new patterns this brings. Some tools and workflows is likely to be thrown out for new, and it’ll be interesting to see how things progress.
I’m trying to use the experimental
flag to test out the latest features, which involves the new app
directory, and there’s definitely a couple of new things to keep in mind, especially concerning state management.
Using TypeScript for backend for my own projects is a blast though, so easy to set up, and NextJS just caches the API endpoints ❤️
MySQL
Why MySQL? Well, I tried Firebase first and just trying to handle keeping things in sync and trying to solve relations (which you always run into) made me want to destroy my perfectly fine keyboard, so I installed MySQL for the first time in 7 years. And all was good.
Hoping to test out Planetscale as a host while i’m at it (not migrated yet)
Prisma
Prisma is probably the one thing that makes me most happy while working on my hobby projects with databases. Instead of fighting with backend devs about how the database should look, I just sort it out myself and get full TypeScript support!
I could use some better GeoPoint/geospatial support though for a feature, but it’s not critical, and I think I’ll just put that one feature in Firebase and such take advantage all the free tiers!
Knitting it all together
As everyone on the planet, I too use Github for storing my source code. Which then Vercel pulls and creates some webpages. I love how easy they make it to set up.
This page
While the stack above is using NextJS, this page is made using Astro. Why you say? Because it’s simple, fast and just works! Also why just learn a couple of things at the same time, Github got room for plenty of half-done projects to be abandoned!