React组件更新,如何知道哪里调用了 setState

#1

react组件更新,如何知道哪里调用了 setState

#2

曾经有一个名字叫Dan Abramov的年轻人也有过这个疑问,后来就有了Redux。