Porting a Create React App application to Vite Pt. 2: Unit Testing
·2376 words·12 mins
Project Architecture New Tech configuration testing NodeJS
For unit tests we will still be using the excellent Testing Library, but we will swap Vitest in place of Jest. Vitest promises Jest compatibility without having to duplicate a bunch of configuration to get Jest to function correctly with a Vite project.
Porting a Create React App application to Vite Pt. 1: Base Project
·1868 words·9 mins
Project Architecture New Tech configuration NodeJS
As of this writing, Vite promises a faster and more performant developer experience over the tried-and-true Create React App template. This is my experience porting one of my vanilla projects to Vite.
PSA: Cleaning Up package.json
·642 words·4 mins
Development Project Architecture configuration NodeJS
I have a minor peeve, maybe it’s just me, but I really dislike random chunks of configuration cluttering up my package.json file. Project generators offered by the likes of Nest and Create React App still leverage the classic pattern of embedding third party configuration values in the package.