Browser Detection in ReactJS

前端 未结 7 1728
甜味超标
甜味超标 2020-12-04 22:20

Is there any way to detect IE browser with React and either redirect to a page or give any helpful message. I found something in JavaScript, but not sure how would I use it

7条回答
  •  一向
    一向 (楼主)
    2020-12-04 22:49

    You can write test for IE like this.

    
    

提交回复
热议问题