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

Propagate props through to Container child. Fixes #36 #48

Merged
merged 1 commit into from
Aug 6, 2015

Conversation

iamdustan
Copy link
Contributor

  • Pass all non-Container props through to children
  • Enable babel’s stage 1 ObjectSpread transformer

This is a naive approach that doesn’t look at the wrapped component’s prop types at all. Though it does safely only pass through properties that are not specific to the container so the result should be that from the consumers point of view that the resolver’s Container and the raw component have the same interface.

* Pass all non-Container properties through to children
* Enable babel’s stage 1 ObjectSpread transformer
@ericclemmons ericclemmons merged commit 41a3305 into ericclemmons:master Aug 6, 2015
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.

2 participants