Today I Learned
A collection of daily a-ha moments. Sometimes to just copy/paste, sometimes to remember what do avoid, other times a handy reminder how difficult learning all these technologies can be.
Notes from reading swr source code
Reading source code from battle tested open source projects leads to learning fun concepts and utilities
Makefile and env vars
Inject env vars into specific targets
Top level async in node scripts
Write async-await in mjs files and run as scripts
Tailwind and components folder
Don't forget to put all folders with React classes into tailwind.config.js
TIL: Speed up jest tests (2)
Use esbuild-jest to speed up TypeScript tests
TIL: Speed up jest tests
A modest speed-up for ts-jest
Things I've learned about Tailwind
Turns out not only I won't hate Tailwind, I actually love it!