14 pointsby slimy749 hours ago5 comments
  • benoau5 hours ago
    Very 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.
  • game_the0ry6 hours ago
    Anyone else notice that debounce is a popular FE interview question?
    • nozzlegear5 hours ago
      It's one of those things that shows you know the basics of frontend, but is still easy to get wrong.
  • jonchurch_5 hours ago
    Im 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?

  • f8ght5 hours ago
    cool but maybe rename it to something more catchy and memorable...ok i will propose new name: dab.js
  • mpalmer6 hours ago
    The README is slop, so I truly don't care.
    • nozzlegear5 hours ago
      I 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_the0ry6 hours ago
      Most people can't tell the difference. Entertain the possibility that you might be one of them.
    • infinite_spin6 hours ago
      > Don't be curmudgeonly. Thoughtful criticism is fine, but please don't be rigidly or generically negative.