score:3

Accepted answer
shouldComponentUpdate(nextProps) {
    return window.matchMedia('(min-width: 768px)').matches
}

Related Query

More Query from same tag