Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

《React 实战:设计模式和最佳实践》掘金小测学习笔记 #4

Open
wanCheng7 opened this issue Nov 19, 2019 · 0 comments

Comments

@wanCheng7
Copy link
Owner

wanCheng7 commented Nov 19, 2019

组件设计模式(2):高阶组件

高阶组件实际上是一个纯函数,可以将一些公共的功能抽离成一个高阶组件。高阶组件可以传入多个组件,然后根据条件返回。

组件设计模式(3):render props 模式

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

No branches or pull requests

1 participant