Patrick

Results 9 comments of Patrick

Previously I had dispatched an action/s in `src/main.js`. Something like: ```js // other imports import {fetchCurrentUser} from './redux/modules/auth' ... // This checks to see if there is a token in...

:+1: interested in seeing an answer for this

Thanks @froginvasion for the feedback. That's a good idea to check that what is in `meta` is the right type. I have also now extended the middleware to handle 404s...

@froginvasion sure - here's the updated `apiError.js` with the 404 handling added in. ``` javascript // apiError.js import {logout} from '../modules/auth' import {push} from 'react-router-redux' export default store => next...

As in to logout from my Web app? I just destroy the JWT token from storage, redirect to homepage, and reset store. On Wed, 12 Oct 2016, 4:43 PM Joey...

Hey @eladlevy - yep that's something I ran into in production which was doing my head in until I figured it out. I have actually changed it to exactly what...

I would be more than happy to do a talk on this. Or I might nominate my boss Nick Glavin

We have the same issue. We are trying to use Optimizely Rollouts with Segment to get `Experiment Viewed` events for free. In order to do so, there needs to be...