Render react components conditionally in the most readable way possible
A method that returns true if the accepted value is null or undefined.
A wrapper for react portal that gives us a better API to deal with react portal in SSR applications.
A hook to use socket in a more linear and reactive way
Render react components conditionally in the most readable way possible
An enhanced version of the useEffect hook with deep comparison on the dependencies.
A hook that indicates wether an element is visible in the viewport or not.
Triggers a callback function whenever a specific keyboard key is pressed.
This hook accepts a parameter with a boolean value and proves useful when we need to perform actions that involve transitioning between binary states, such as showing and hiding an overlay or opening and closing a menu.