我们都知道constructor -> componentWillMount -> componentDidMount
是执行命令.
现在,当redux开始发挥作用并try 在组件生命周期中访问redux属性时.connect will execute使data is available lifecycle methods忽略和数据更新到redux的顺序是什么.可能性是
1. Connect (DATA AVAILABLE) -> constructor & componentWillMount & componentDidMount
2. constructor -> Connect (DATA AVAILABLE) -> componentWillMount & componentDidMount
3. constructor -> componentWillMount -> Connect (DATA AVAILABLE) -> componentDidMount
4. constructor -> componentWillMount -> componentDidMount -> Connect (DATA AVAILABLE)
加载的数据上是order consistent还是depends?
react and react native人之间有什么不同吗
可以将redux属性定义为required in PropType吗