How to check React browser compatibility(generic) on load to avoid blank screen

462 Views Asked by At

Few users reporting they see blank screen with no proper information in some old browsers, so is there any way we can check the browser compatibility and pass on the issue information ?

I tried reading Agent but i may need to hardcode the version. Is there any generic way to accomplish it ?

1

There are 1 best solutions below

0
Maddy On BEST ANSWER

Check browser compatibility using User agent is not a good way and it will not be generic as we decide the browser version and allow.

Solution is widely used Modernizr tool, a JS library which allows us to check compatibility based on features support.