Should media functionality be included as a part of react-blocks?
Opened this issue · 4 comments
The current version of react-blocks includes handling media queries. The question is, whether it should be at the core of the library? Also there are a couple of notable libraries out there that handle media queries specifically. Again CSS media queries could be another use case. If the feature helps you, please lemme know.
I vote for remove media query stuff from this lib. 👍
@nishp1 Any specific reason? Why not to include media queries as a part of the lib?
For the same reasons mentioned in #6. Mainly just to simplify this library. I have used react-responsive in the past and I think that combined with this will work great together.
But don't you think for every block a separate <MediaQuery />
block has to be created which increases the boilerplate code? I mean, imho react-responsive also uses javascript to handle media queries under the hood.