-
Notifications
You must be signed in to change notification settings - Fork 500
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
Conversation
26f7ff6
to
2669d7c
Compare
Tests pass locally in Chrome, fail only in firefox because of bevry/sortobject#2 |
@@ -0,0 +1,17 @@ | |||
import React, {PropTypes} from 'react' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not {React, PropTypes}
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or just React?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
This all looks good to me, from what I understood of it. |
refactor: Upgrade to react-router@2
You! You're on 🔥 |
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