Jeśli przeglądarka reaguje

//Not sure why but nobody mentioned this package: react-device-detect 
//The package have a lot browsers checks, plus versions and some other info related.
//It's really small and it's updated.

//You can use:

import { isIE } from 'react-device-detect';
isIE // returns true or false
S3NS4