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

refactor: Upgrade to react-router@2 #156

Merged
merged 3 commits into from Jan 3, 2016
Merged

refactor: Upgrade to react-router@2 #156

merged 3 commits into from Jan 3, 2016

Conversation

dignifiedquire
Copy link
Member

This also upgrades the test story to be more
useful as I found some issues with the one before.
So this superseeds #154.

Closes #131

@jbenet jbenet added the status/in-progress In progress label Jan 2, 2016
This also upgrades the test story to be more
useful as I found some issues with the one before.
So this superseeds #154.

Closes #131
@dignifiedquire dignifiedquire changed the title [WIP] refactor: Upgrade to react-router@2 refactor: Upgrade to react-router@2 Jan 2, 2016
@dignifiedquire dignifiedquire added codereview and removed status/in-progress In progress labels Jan 2, 2016
@dignifiedquire
Copy link
Member Author

Tests pass locally in Chrome, fail only in firefox because of bevry/sortobject#2

@@ -0,0 +1,17 @@
import React, {PropTypes} from 'react'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not {React, PropTypes}?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or just React?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because that's something different. To use jsx you need to have the top level React in scope, and for the PropTypes I don't want to write React.PropTypes. For more details see this article

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, interesting. Interesting shorthand I hadn't seen before. Thanks.

@RichardLitt
Copy link
Member

This all looks good to me, from what I understood of it.

RichardLitt added a commit that referenced this pull request Jan 3, 2016
refactor: Upgrade to react-router@2
@RichardLitt RichardLitt merged commit 59e3719 into master Jan 3, 2016
@jbenet jbenet removed the codereview label Jan 3, 2016
@RichardLitt
Copy link
Member

You! You're on 🔥

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.

None yet

3 participants