Snippets
This is a collection of code snippets that I have used or found essential in my coding journey.
Hope this list can be useful to you as well. 📙
Password Validation Schema
Password validation using the yup library
RegEx Collection
A collection of Regular Expressions that I use for my projects.
Sign up Schema with Zod
Sign up schema using zod validation library
useDimension Hook
A hook for getting an element's width and height
useImagePreview Hook
A hook for previewing an image file
useScrollToTop Hook
A hook for implementing scroll-to-top functionality