WebStorm/PhpStorm warning for react attributes in jsx like className

后端 未结 4 1151
心在旅途
心在旅途 2021-02-19 01:44

I can not remove following warning in react code. \"Attribute className is not allowed here\".

  • Warning in PhpStorm

  • Unkn
4条回答
  •  日久生厌
    2021-02-19 02:23

    My problem with warnings in jsx was solved by instaling React-Template plugin.

提交回复
热议问题