A simple hook for React to receive current window width using `ResizeObserver` for a better performance.