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

Refactoring curly component argument processing #14355

Merged
merged 1 commit into from
Sep 30, 2016

Conversation

ef4
Copy link
Contributor

@ef4 ef4 commented Sep 26, 2016

This cleans up and unifies the handling of curly component arguments. It splits the work into two distinct phases

  • gatherArgs assembles an EvaluatedArgs that combines all variations of positional and named arguments
  • ComponentArgs.create takes the EvaluatedArgs and produces the curly-component specific attrs & props structures with mutable cells, etc.

@ef4 ef4 mentioned this pull request Sep 26, 2016
@homu
Copy link
Contributor

homu commented Sep 27, 2016

☔ The latest upstream changes (presumably #14361) made this pull request unmergeable. Please resolve the merge conflicts.

@ef4 ef4 force-pushed the refactor-curly-args branch from 24b38fc to b034666 Compare September 27, 2016 15:45
@rwjblue
Copy link
Member

rwjblue commented Sep 28, 2016

LGTM, @chancancode r?

@chancancode
Copy link
Member

chancancode commented Sep 28, 2016

I want to try to unify this with closure component args, I'll give it a shot today

@homu
Copy link
Contributor

homu commented Sep 29, 2016

☔ The latest upstream changes (presumably #13996) made this pull request unmergeable. Please resolve the merge conflicts.

This cleans up and unifies the handling of curly comopnent arguments. It splits the work into two distinct phases

 - gatherArgs assembles an EvaluatedArgs that combines all variations of positional and named arguments into a single EvaluatedArgs object
 - ComponentArgs.create takes the EvaluatedArgs and produces the curly-component specific attrs & props structures with mutable cells, etc.
@ef4 ef4 force-pushed the refactor-curly-args branch from b034666 to 8b691eb Compare September 30, 2016 19:24
@ef4
Copy link
Contributor Author

ef4 commented Sep 30, 2016

This is rebased against master. @chancancode, can we break your lock and merge this? It doesn't preclude a further refactor that also includes closure component args.

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.

4 participants