DEV Community

Discussion on: Responsive design in React components?

Collapse
 
victorocna profile image
Victor Ocnarescu

That's actually right. First time I read your article I did not understand that you wanted different styles depending on the "space" of the element and not on the device/viewport. I have not yet encountered this scenario in real projects though, but it is a nice approach, will definitely use it if I ever need it.