Blog
Snippets
Leo's Blog logo
BlogSnippets

Snippets

My snippets collection

npm commands

Common npm commands to use locally: npm link, unlink, rm, list, npx, etc.

Remixing remix submission

A custom hook to handle in-route-submission in a Remix app

Verify Github webhooks

Learn how to verify Github webhooks requests and process them accordingly in a Node.js app

Casing utilities

Usefult string casing utilities functions in JavaScript

Case sensitive renaming

How to safely rename a case sensitive file/directory in a git repo?

Deep remove falsy

Remove all falsy values from an object and its nested children

Use an async effect

A custom hooks to use an async effect

Markdown code block syntax

Markdown Code block's basic and advanced syntaxes

Event Emitter

Simple Event-Emitter/PubSub pattern

VNese to plain English

Replace all VNese letters with the corresponding English accents

useLocalStorageState

A custom hooks to use local storage state

Build with
-
Copyright © 2025
• Tai's blog - Tai's coding journey