3 ms·
I made a Promise-aware debounce and throttle library for TypeScript
- mpalmer 2mo agoThe README is slop, so I truly don't care.
- infinite_spin 2mo ago> Don't be curmudgeonly. Thoughtful criticism is fine, but please don't be rigidly or generically negative.
- game_the0ry 2mo agoMost people can't tell the difference. Entertain the possibility that you might be one of them.
- nozzlegear 2mo agoI don't like sloppy readmes either, but this one doesn't seem that. It's verbose but it's just documenting the API. There's no obvious LLMisms like "Why you should use this (the honest part)" or "Debouncing (the part that matters)".
- game_the0ry 2mo agoAnyone else notice that debounce is a popular FE interview question?
- nozzlegear 2mo agoIt's one of those things that shows you know the basics of frontend, but is still easy to get wrong.
- benoau 2mo agoVery nice. I've become addicted to using the `openapi-typescript` libraries to ingest type definitions and then `openapi-fetch` for an automatically-typed client, your debounce library slots over it while preserving all the typing and IntelliSense information.
- f8ght 2mo agocool but maybe rename it to something more catchy and memorable...ok i will propose new name: dab.js
- jonchurch_ 2mo agoIm curious OP, what was the specific callsite (not overall category) that made you write this library? What did the code look like before/after you used this library? And in that callsite, what were you doing with the resolved value?
- slimy74 2mo ago[dead]
- slimy74 2mo agoSmall update: v0.4.0 is now available. It adds sample, once, timeout, and poll. Release notes: https://github.com/nyvexis1/temporize/releases/tag/v0.4.0 https://github.com/nyvexis1/temporize/releases/tag/v0.4.0