It would be nice if toQuery was also exported in index.js. There have been times that the only change a component has is a simple css property, to avoid multiple renderings it would be useful to just be able to change that property with a css media query.
It would be nice if toQuery was also exported in index.js. There have been times that the only change a component has is a simple css property, to avoid multiple renderings it would be useful to just be able to change that property with a css media query.
Here is the ideal usage:
Then in your styled components you could just import
MediumQuery
and use like this: