Objective: Implement a custom React hook that returns the current window dimensions (width and height).
Instructions:
useWindowDimensions
Example Usage:
const { width, height } = useWindowDimensions(); console.log(`Width: ${width}, Height: ${height}`);
Requirements:
Hints:
useState
useEffect