yocontra/react-responsive

How do I automatically re-render on resize when using components?

haveamission opened this issue · 1 comments

I am trying to trigger a re-render when resizing so that components update, but I am not seeing an example of how to do that idiomatically.

What is the best way to go about doing this?

@haveamission All user resize events are automatically checked against your media queries - components get re-rendered when the media query is matched or unmatched.