componentDidUpdate is called at first render although anything doesn't change

前端 未结 0 1289
感情败类
感情败类 2021-01-28 12:11

What I want to do

When state changes, I would like to fetch data from API and set it to state.

Problem

When I load a p

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