Skip to content

Any clean way to provide responsive props to components #1270

Answered by mshwery
nenadfilipovic asked this question in Q&A
Discussion options

You must be logged in to vote

We haven't adopted any wide-scale responsive queries or conditional component patterns, but in general I would recommend the first pattern when many things change. It has the benefit of being much easier to comprehend in diffs than same-line changes.

The library you linked seems like a good alternative if you are concerned about react-component-queries maintenance status!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nenadfilipovic
Comment options

Answer selected by nenadfilipovic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1267 on July 16, 2021 15:48.