How can I suppress “The tag is unrecognized in this browser” warning in React?

前端 未结 4 694
梦如初夏
梦如初夏 2021-02-13 05:58

I\'m using elements with custom tag names in React and getting a wall of these errors. There\'s a GitHub issue on the subject (https://github.com/hyperfuse/react-anime/issues/3

4条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-13 06:23

    I found a potential fix for this issue - if you are using a plugin (and potentially in other circumstances) you can use the is attribute.

    Found here when working with X3d - simply writing works

提交回复
热议问题