Snippets 💻

Simple toggle component

Toggle component made purely by HTML.


$$ shortcut in browser console

As a web developer, you may have noticed the $$ symbol in some online tutorials or code snippets. You may be wondering what it represents and how to use it in your development workflow.

Hook for handling setInterval

Easy to use hook for handling intervals. The implementation allows pausing interval.


Passing props to children by cloning them

Non-intuitive way of passing props to children in React.


Git clean

Git script for removing untracked files and folders.