#228·f8app

Redux 存储返回 undefined 或 null

作者: zakayothuku创建于 2018年7月5日更新于 2018年7月5日

我刚刚注意到你在源代码中将商店设置为 null,而在 http://makeitopen.com/docs/en/1-3-data.html 文档中,你将其赋值给了一个不同的变量。源代码如下: image 在 make it open 网站上: http://makeitopen.com/docs/en/1-3-data.html image 这是为什么呢?两者之间有什么区别?redux store 返回 undefined,在某些情况下返回 null。这里可能出现什么问题?

内容来源: fbsamples/f8app