Skip to content

Commit

Permalink
📝 新增redux的使用说明
Browse files Browse the repository at this point in the history
- redux中的核心概念说明:state,store,slice,reducer,action,actionCreator,dispatch等
- store模块化使用说明
- react-redux读取数据,修改数据方式
- react-toolkit读取数据,修改数据
  • Loading branch information
SakuraMuxia committed Sep 27, 2024
1 parent cd1e233 commit d55da41
Show file tree
Hide file tree
Showing 2 changed files with 622 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/front-end/04-ES6/07-数组新增特性.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ arr.reduce(pre,item) 传入两个参数(上一个的返回值pre,当前所在元
回调函数都是同步执行的

find() 返回第一个满足条件的元素,参数是回调函数
findIndex() 返回第一个满足条件的元素的索引,参数是回调函数
findIndex() 返回第一个满足条件的元素的索引,参数是回调函数,找不到则返回 -1
fill() 使用固定的值替换到原来的元素值,修改器方法
keys() 返回遍历器对象
values() 返回遍历器对象
Expand Down
Loading

0 comments on commit d55da41

Please sign in to comment.