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

Support concurrent branch traversal #25

Open
ctrlplusb opened this issue Mar 18, 2018 · 2 comments
Open

Support concurrent branch traversal #25

ctrlplusb opened this issue Mar 18, 2018 · 2 comments

Comments

@ctrlplusb
Copy link
Owner

Likely through an experimental flag for now, but as long as we execute from root towards leaf in a concurrent fashion it should be fine as the parent context would have been configured for children.

@CosticaPuntaru
Copy link

CosticaPuntaru commented Aug 29, 2018

i don't know if this is the same as what i am looking for, but i think it will be nice to have a flag to walk siblings in a Promise.all fashion to reduce server side load duration.

updates:
its work concurrent in :

render(){
   return ([<FirstComponent key={1}/>, <SecondComponent key={2}/>])
}

but not for:

render(){
   return (<div> <FirstComponent /> <SecondComponent /></div>)
}

in the second case the walk is called in sequence

@oyeanuj
Copy link

oyeanuj commented Dec 23, 2018

@CosticaPuntaru That's a good idea. Have you tried it yet?

@ctrlplusb Thoughts?

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

No branches or pull requests

3 participants