This repository is a React custom hook - useWindowSize - to handle responsiveness in React JS.
- React 18 with
createRoot
syntax - Vite
- Tailwind CSS
- Custom React hook, useWindowSize, utilizing both useState and useEffect
- Fork this repository
- Clone to your local machine
- If you prefer NPM,
npm install
or if you use Yarn,yarn install
in your terminal to install node-modules npm dev
oryarn dev
to open development in your browser