In my particular case i'm using the AnimatedSwitch within a HOC router so that i've got the ability to do public/private routes. For some context, within these public/private routes it'll check if the user is authenticated if they are, all is well and works fine, but if they are not then it'll redirect them to some arbitrary route which is where the maximum update depth is exceeded.
Not a great amount of context is provided in the console but I can certainly confirm that it's to do with the redirect (as it didn't have issues with some other arbitrary element) and also that it works fine with the Switch provided by react-router itself.
Here's the error log, let me know if you need any more context or anything :)
In my particular case i'm using the AnimatedSwitch within a HOC router so that i've got the ability to do public/private routes. For some context, within these public/private routes it'll check if the user is authenticated if they are, all is well and works fine, but if they are not then it'll redirect them to some arbitrary route which is where the maximum update depth is exceeded.
Not a great amount of context is provided in the console but I can certainly confirm that it's to do with the redirect (as it didn't have issues with some other arbitrary element) and also that it works fine with the Switch provided by react-router itself.
Here's the error log, let me know if you need any more context or anything :)