Archive.
Older field notes kept online for reference. Some details may no longer reflect the current toolchain.
Undated
1 note2025
5 notes-
Using use-query-params in a React Application
Store your state in the URL
-
You Might Not Need to Use Context in React
Why React Query replaces most classic Context use cases
-
FE Devs' That use `npm start` instead of `npm run dev`
Don't mix up your scripts!
-
Resources
List of things..
-
Abort Controllers are awesome
They just removes event handlers without the need of references
2024
12 notes-
JavaScript - for...of vs .forEach in JavaScript: Understanding the Differences
TLDR; Stick to for...of
-
NextJS - about 'use client'
TLDR; don't abuse it
-
Cursor - pointer
Basics of UIs should be familiar for users and uniform across websites
-
Common date format
YYYY-MM-DD
-
What's up with Biome
How to add Biome to your project and why you might want to
-
Dynamic classes caveat
Something to keep in mind when using dynamic classes in Tailwind CSS
-
Generic paged response type
How to create reusable generic paged response type in TypeScript
-
React - data fetching
Different ways to fetch data in React
-
React - unit testing
Everything about unit testing in React
-
Keep footer at bottom of the page
Content too short and footer is not at the bottom of the page? Here is a simple solution.
-
Using fonts in Tailwind 4
By far easiest and fastest way to add fonts to your project
-
React - custom hooks
Reusable logic in react
