Use media queries with React hooks

November 24, 2019

Using media queries with React is pretty easy nowadays. There are a lot of solutions out there, but the most popular one is react-media by the ReactTraining people.

But today everyone wants to use hooks, so I'm going to show you how to recreate some of the react-media (they do more stuff) functionality with hooks.

Thanks for watching! Remember to like the video if you liked it, and subscribe to my channel if you are interested in the content. I'm going to be recording some more interesting React content, so stay tuned.

Read more about

View all posts →