SKDBLOG

Technical blog · Prayagraj, India

Code,
systems, & craft.

I’m Shashikant Dwivedi — a software engineer in Prayagraj, India. I write about the systems I build, the tools I use, and the practices I’m still figuring out.

Featured

Latest article.

All articles

Topics

What I cover.

All topics

Archive

Recent articles — page 2

Snippets

Useful code,
ready to copy.

A growing library of small, focused code snippets — TypeScript utilities, SQL patterns, shell one-liners, and React hooks that actually earn their keep.

Browse snippets
// useDebounce hook
function useDebounce<T>(
  value: T,
  delay: number
): T {
  const [debounced, setDebounced] =
    useState(value);

  useEffect(() => {
    const t = setTimeout(
      () => setDebounced(value),
      delay
    );
    return () => clearTimeout(t);
  }, [value, delay]);

  return debounced;
}

The newsletter

New articles in your inbox.

Occasional articles on engineering, tooling, and software development practices. No marketing, no fluff — just the article, when it's ready.

Unsubscribe with one click. Your email never leaves the list.