Skip to content
This repository has been archived by the owner on Sep 29, 2022. It is now read-only.

Prototype a RouterComponent to wrap Component #48

Closed
larrymyers opened this issue Nov 17, 2015 · 2 comments
Closed

Prototype a RouterComponent to wrap Component #48

larrymyers opened this issue Nov 17, 2015 · 2 comments
Assignees
Milestone

Comments

@larrymyers
Copy link
Owner

A RouterComponent can be created that wraps the provided Component. The provided routes can be wired to to the Component by doing a setState({ path: path }) on successful routing changes.

http://facebook.github.io/react/docs/reusable-components.html#es6-classes

Example:

https://medium.com/@dan_abramov/mixins-are-dead-long-live-higher-order-components-94a0d2f9e750

@larrymyers larrymyers added this to the 2.0 milestone Nov 17, 2015
@larrymyers larrymyers self-assigned this Nov 17, 2015
@larrymyers larrymyers modified the milestones: 2.0, 2.1 Nov 18, 2015
@peh
Copy link

peh commented Jun 24, 2016

hey larry,
does the closing mean that this is implemented and can be tested somewhere (i can find no reference in the commit history)

@larrymyers
Copy link
Owner Author

@peh I closed this because it ended up being work I was never going to get to, nor was a feature request from users of the library.

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

No branches or pull requests

2 participants