TIL about better-all - extension of Promise.all() with automatic dependency optimization and full type inference.
TIL about naming conventions for CSS named grid lines.
When you specify
grid-template-columns: [main-start] 1fr [content-start] 1fr [content-end] 1fr [main-end];
Then child elements can be aligned in a shorthand fashion — instead of specifying grid-column: content-start/content-end; you can specify grid-column: content <3
TIL about git insteadOf trick:
git config --global url."https://github.com/".insteadOf "gh:"
It allows us to do e.g.
git clone "gh:user/projects"
# instead of
git clone "https://github.com/user/projects"
This has a lot of potential as a prank on a co-worker who didn’t lock their laptop ![]()
TIL about Promise.withResolvers and Promise.try.
Yet another serialization format: https://flatbuffers.dev/
A very unique one on top of that. Schema is compiled and baked into application as a code. Still it provides some flexibility to evolve schema without breaking existing applications(deprecating fields/identifiers instead of removing them). Can’t provide any benchmarks, but looking at structure it should be more efficient than JSON and msgpack. Extra compiler during build is a nuisance though.
TIL about fallow:
The static layer to find unused code, duplication, complexity hotspots, architecture drift, and feature-flag branches across your module graph. Targets specifically TypeScript and JavaScript
TIL that the Temporal API is now enabled by default in Node.js 26 ![]()
TIL that starting from npm 12 it will not run postinstall automatically: