Why does React think that my class method is hook?

前端 未结 0 1022
盖世英雄少女心
盖世英雄少女心 2021-01-20 19:29

Just updated react from v16 to v17 and got error, that Failed to compile.

 Line 37:9:  React Hook "Api.useAuth" is called conditionally. React Hooks         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题