Skip to content

added copying of static methods to resulting storeConnection component#8

Open
kellyrmilligan wants to merge 1 commit intoaltjs:masterfrom
kellyrmilligan:master
Open

added copying of static methods to resulting storeConnection component#8
kellyrmilligan wants to merge 1 commit intoaltjs:masterfrom
kellyrmilligan:master

Conversation

@kellyrmilligan
Copy link
Copy Markdown

This will copy static methods defined on the component that is sent to connect to stores onto the resulting wrapped component. this is useful for when a route handler is defined for react-router that is wrapped by connectToStores. you can then access the static methods for fetching data, anything else.
had to update babel-eslint, eslintrc, etc to get linting to work.

created new tests for this feature.

@kellyrmilligan
Copy link
Copy Markdown
Author

hi there, thoughts on this?

@kellyrmilligan
Copy link
Copy Markdown
Author

?

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.

1 participant