Skip to content

Deprecate FluxChildMixin#59

Merged
BinaryMuse merged 2 commits intomasterfrom
bkt-deprecate-flux-child-mixin
Oct 13, 2014
Merged

Deprecate FluxChildMixin#59
BinaryMuse merged 2 commits intomasterfrom
bkt-deprecate-flux-child-mixin

Conversation

@BinaryMuse
Copy link
Copy Markdown
Owner

Having separate mixins makes refactoring more difficult and requires simulating a context in order to test components in isolation. This PR implements FluxMixin as a mixin that accesses the Flux instance via props (if it exists) or context (if it doesn't).

@BinaryMuse
Copy link
Copy Markdown
Owner Author

@somebody32 Since you commented on this in #55, I'm curious as to your thoughts here.

@somebody32
Copy link
Copy Markdown

Yep, this is totally what I had in mind, many thanks! Component's API will be a lot easier and there will be no need to change mixin after hierarchy change

@jsdir
Copy link
Copy Markdown

jsdir commented Sep 5, 2014

When will this get merged?

@jtangelder
Copy link
Copy Markdown
Contributor

Looking forward to this myself as well.

@BinaryMuse BinaryMuse added this to the v1.5.0 milestone Oct 13, 2014
@BinaryMuse BinaryMuse merged commit 2de7538 into master Oct 13, 2014
@BinaryMuse
Copy link
Copy Markdown
Owner Author

This is available in v1.5.0.

@BinaryMuse BinaryMuse deleted the bkt-deprecate-flux-child-mixin branch January 12, 2017 17:45
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