Skip to content
This repository has been archived by the owner on Mar 5, 2020. It is now read-only.

Preparing router context for migration #1615

Merged
merged 1 commit into from
Feb 4, 2016
Merged

Preparing router context for migration #1615

merged 1 commit into from
Feb 4, 2016

Conversation

Pomax
Copy link
Contributor

@Pomax Pomax commented Feb 2, 2016

Some cleanup around how the Page and current router are used in the code, and the router context (which is this.props.router in react-router 1.0)

These changes pass all tests, but there are warnings about setState() for the Select component being called while it's not mounted. This suggests that the modal for it expires during testing, but it also doesn't seem to affect testing, so something odd is going on here.

Note that some files were touched in order to make the test log less polluted.

@Pomax Pomax mentioned this pull request Feb 2, 2016
1 task
@Pomax Pomax added this to the Feb 12 milestone Feb 2, 2016
@mmmavis
Copy link
Member

mmmavis commented Feb 3, 2016

PR looks good to me. I wish there's some built-in router icon that I could attach here though. 😜

@Pomax
Copy link
Contributor Author

Pomax commented Feb 3, 2016

hmm... 🚃🚃🚃🚃🚃 ?

…. This will make updating to the new react-router considerably easier
Pomax added a commit that referenced this pull request Feb 4, 2016
Preparing `router` context for migration
@Pomax Pomax merged commit ae5d43d into mozilla:develop Feb 4, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants