TIL

TIL (Today I Learned) is a collection of short posts documenting things I learn during my development journey. These posts capture quick tips, tricks, and insights that might be useful for other developers. Each TIL is concise and focused on a single concept or technique that I found interesting or helpful.

Browse all blog posts for more in-depth articles, or explore by tags to find specific topics.

Array Destructuring with Default Values

Array Destructuring with Default Values Today I learned that you can use default values in array destructuring, similar to object destructuring. The Trick This is useful when...

javascripttil

CSS Grid auto-fit vs auto-fill

CSS Grid auto-fit vs auto-fill Today I learned the subtle but important difference between and in CSS Grid. The Difference - auto-fill: Creates as many columns as can fit, even if...

csstil

Optional Chaining with Nullish Coalescing

Optional Chaining with Nullish Coalescing Today I learned how powerful the combination of optional chaining () and nullish coalescing () can be. The Pattern This safely accesses...

javascripttil