As per the meterial-ui document https://material-ui.com/layout/breakpoints/ under the section of JavaScript Media Queries,
withWidth higher-order component will be deprecated for the useMediaQuery hook when the React's hooks are released as stable.
if withWidth HOC deprecated, then how can we acheive the same feature in class component.
As per the meterial-ui document https://material-ui.com/layout/breakpoints/ under the section of JavaScript Media Queries,
if withWidth HOC deprecated, then how can we acheive the same feature in class component.