fe-bootcamp-2021 / bookstore

0 stars 0 forks source link

Extract useWindowSize hook #34

Open vre2h opened 3 years ago

vre2h commented 3 years ago

https://github.com/fe-bootcamp-2021/bookstore/blob/050a5d581d031e4e6d7fba63c5d3bb8f89f06697/src/components/Header/Navbar.jsx#L25

Consider to using somethiong like this: https://usehooks.com/useWindowSize/