How to create a reusable modal component?Modal has become a ubiquitous UI element in modern web designs. It is a simple yet effective design choice with respect to UX. I believe everyone is well aware of how omnipresent a modal element is the everyday web. Today we will be building a Modal ...Jun 10, 2022 · 5 min readanimeshgarai.hashnode.dev
How to create a reusable useOnClickOutside hook in react?From the time Hooks were introduced in React 16.8, it has changed how react is written in its ecosystem. Hooks are functions that let you “hook into” React state and lifecycle features from functional components. Hooks make React so much better becau...Jun 6, 2022 · 3 min readanimeshgarai.hashnode.dev
How to create a reusable menu component in ReactDropdown menus have always been an integral part of any modern UI for a better user experience throughout an app. Dropdown menus are essential for a clean design layout where user actions can be organized for easy accessibility without cluttering the...May 30, 2022 · 9 min readanimeshgarai.hashnode.dev