Also, I covered it with tests and detailed JSDocs.
Who would've thought that one could push such a simple code that far!
Also, I covered it with tests and detailed JSDocs.
Who would've thought that one could push such a simple code that far!
I use them often and am too lazy to drag them around.
Btw, if you don't use this pattern in your TypeScript code, you're missing out!
I use them often and am too lazy to drag them around.
Btw, if you don't use this pattern in your TypeScript code, you're missing out!
I got this effects spaghetti after just a few (spec-driven!) sessions. It is simply deciding whether to show a key form, form with an error, or a masked key view.
I got this effects spaghetti after just a few (spec-driven!) sessions. It is simply deciding whether to show a key form, form with an error, or a masked key view.
Happy to say it's 30% faster than alternatives, and it's just 185B!
I built it to use with my other library, smolxxh (just 381B), to get JS value hashes.
Happy to say it's 30% faster than alternatives, and it's just 185B!
I built it to use with my other library, smolxxh (just 381B), to get JS value hashes.
I used them for private projects for years and recently adopted them for date-fns.
With pnpm workspace, I can work on multiple packages in a single project while having GitHub issues and actions separated.
I used them for private projects for years and recently adopted them for date-fns.
With pnpm workspace, I can work on multiple packages in a single project while having GitHub issues and actions separated.
I'm glad people find it useful!
I'm glad people find it useful!
It's a well-made cross-platform app (à la ChessBase) w/ support for multiple engines, a nice UI, and many more features useful when studying.
Consider supporting the creator at: buymeacoffee.com/franciscosal
It's a well-made cross-platform app (à la ChessBase) w/ support for multiple engines, a nice UI, and many more features useful when studying.
Consider supporting the creator at: buymeacoffee.com/franciscosal
Now start with just bullet points to capture the essence.
Perfect is the enemy of good.
Now start with just bullet points to capture the essence.
Perfect is the enemy of good.
Look like naive `satisifes` expressions fail most of the times.
Look like naive `satisifes` expressions fail most of the times.
If you don't write complex TypeScript types, it's a test framework that checks generic results.
If you don't write complex TypeScript types, it's a test framework that checks generic results.
Here's the assign compatibility matrix of all basic types.
Here's the assign compatibility matrix of all basic types.
www.typescriptlang.org/play/#code/C...
www.typescriptlang.org/play/#code/C...
type Everything = {} | null | undefined;
It behaves not like you would expect, and you can assign anything to it, even unknown, that can only be assigned to any and itself.
type Everything = {} | null | undefined;
It behaves not like you would expect, and you can assign anything to it, even unknown, that can only be assigned to any and itself.
It would be great to have typed `useEffect` dependencies too.
I think it must be in React types btw!
It would be great to have typed `useEffect` dependencies too.
I think it must be in React types btw!
I love it, personally, and proud that I discovered it.
I love it, personally, and proud that I discovered it.