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

Allow for Configurable Shallow-Render Depth #12

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open

Allow for Configurable Shallow-Render Depth #12

wants to merge 3 commits into from

Conversation

PapaStef
Copy link

@PapaStef PapaStef commented Aug 18, 2017

For more info, please see Issue #11

@PapaStef PapaStef changed the title Feature/issue 11 configurable render depth Allow for Configurable Shallow-Render Depth Aug 18, 2017
return mount(c, ...args)
}

function shallowRenderComponents (component) {
function shallowRenderComponents (component, depth) {
Copy link

@RobvH RobvH Aug 20, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is awesome!

Thinking about it as a whole, now that depth is definable, is this still the best name for the method? shallow is now only a default depth. This seems to have become renderComponents

Copy link
Author

@PapaStef PapaStef Aug 21, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or renderComponentsByDepth... something along those lines. Although, I don't mind the shallowRender name since we are still shallowRendering with added control on how shallow.

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.

3 participants