We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
目前halation渲染的基本原则是所有的组件在形式上都要是同一层级,这么做在维护上有一定的提高,但是不可避免的缺少一定的灵活性,比如说开发者对于粒度化的把控,总会不可避免的出现对一些组件的引入;这个时候就需要提供对children的支持
假如在一个组件中支持了children的话,对于children进行渲染时它的props怎么把控,是绝对来自上游还是说同时要支持当前组件的props;如果说同时支持当前组件的props,那么对children而言它的独立性是否被打破
The text was updated successfully, but these errors were encountered:
No branches or pull requests
背景
目前halation渲染的基本原则是所有的组件在形式上都要是同一层级,这么做在维护上有一定的提高,但是不可避免的缺少一定的灵活性,比如说开发者对于粒度化的把控,总会不可避免的出现对一些组件的引入;这个时候就需要提供对children的支持
问题点
children props的附加
假如在一个组件中支持了children的话,对于children进行渲染时它的props怎么把控,是绝对来自上游还是说同时要支持当前组件的props;如果说同时支持当前组件的props,那么对children而言它的独立性是否被打破
The text was updated successfully, but these errors were encountered: