-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Hey!
It's me again 😁
So we're still using your package. And recently we upgraded react and react-dom to v16.9.0. After the upgrade we're receiving the following warning:

We know you haven't upgraded react-responsive because of this issue: #9
However we would like to get rid of the warning. Do you think we can find a solution?
We found a not really nice workaround this:
const ResponsiveUglyWorkAround = (props) => (
<React.Fragment>
<br style={{ display: 'none' }} />
<MediaQuery {...props} />
<br style={{ display: 'none' }} />
</React.Fragment>
);
as explained here: yocontra/react-responsive#162 (comment)
What do you think?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels