reactjs - 静态数据 Redux 存储
问题描述
当您仅从 API 中提取静态数据并且以后可能不会修改该数据时, mapStateToProps 和 mapDispatchToProps 是否有意义?
解决方案
推荐阅读
- javascript - 使用 jquery 拖放图像替换它们
- ruby - `bundle install` 将参数保存在配置文件中,可以防止吗?
- r - Incorrect difference in dates with different formats
- sql - 在 ssrs 中整数到 HH.MM
- javascript - AppendTo() 元素,jQuery CSS 类更改不起作用
- firebase - 如何在 Flutter 中使用 Firebase 更改密码
- javascript - 为什么 Selenium 不使用 JS?
- matlab - 动态更新 MATLAB 中“切换块”中“阈值输入”的值,即我需要基于用户的输入作为我的阈值
- java - Java selenium 不能发送键和点击元素
- javascript - Permission denied to access object when trying to call Greasemonkey-4 injected function