Jonathan Grimes

Results 139 comments of Jonathan Grimes

I'm not sure how you would implement this behavior change in the other environments.

Actually, the main three can know "isPopState"... so nm, all of the environments would be ok :)

```jsx this.router = x}>... ``` else where: ``` this.router.navigate('/path/to/route', {replace: true}); //the second arg is optional. the replace key will signal the use of replaceState or pushState (default) ```

I'm curious, why would you split react out like that? separate caching policies?

@tindli react-quickstart from that link is deprecated. There may be another quick start project. I believe the React 0.14 branch has made efforts to remove deep dependencies into React's package.

yeah, that is a completely different project. :) Thats a good point about the likelihood of the user having the react library

In my application this component handles redirects by just `` ``` jsx import React from 'react'; import Router from 'react-router-component'; import Loading from 'common/components/Loading'; export default React.createClass({ displayName: 'Redirect', mixins:...

@saidimu Redirects replace the current route... you should add `{replace: true}` as the second argument to `navigate`

@saidimu It's not documented. Its internal implementation. You are calling parts of the router that were not meant to be exposed. (much like `context` in React) See this [line](https://github.com/STRML/react-router-component/blob/master/lib/environment/Environment.js#L61). The...