Skip to content

Conversation

@SimmyZT
Copy link

@SimmyZT SimmyZT commented Apr 23, 2019

将第三章3.9.4的代码完成了,并进行了扩展:
1、初始状态不只是value,还有一个star,即将状态设置为一个对象,可以传递多个值
2、reducers函数用Object.assign(),帮助初学者理解redux的不可改变性
3、丰富了计数器的功能,帮助初学者理解怎样哪些属性是ocunter组件自己的,哪些是通过容器组件得到的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant