-
Notifications
You must be signed in to change notification settings - Fork 642
multiple routerWillLeave triggers #128
Comments
Hm, strange. Might be. I've got some busy days now before christmas so I don't have much time to check. If you want to test if #109 fixes your problem maybe you could test my branch in your app? That would be valuable input in ensuring we get this stuff right. If so, you can add this to your
After I'll also try to get this stuff tested more as soon as I've got some hours available. |
No problem, I'll give it ago. Thanks. |
Getting an error - "Uncaught SyntaxError: Unexpected token {" on this line - function pushPath(path, state, { avoidRouterUpdate = false } = {}) { I'll have to look into more later. |
No problem, @egadstar — I'll try to get this tested as soon as I've got a bit of time |
@egadstar You probably didn't compile it, I think we have a problem when installing a custom branch where it doesn't compile the source. You can try to compile it by going into the folder and running |
Haha, oups, forgot to include the build step above :/ Sorry, @egadstar. I need to write this down so I can copy/paste |
I had to change the build script to |
Thanks for checking that out, @egadstar. Will try to get a fix released soon :) |
When using redux-simple-router in conjunction with the router's routerWillLeave lifecycle method, the routerWillLeave method is called twice. I'm assuming this is related to #109 or #108?
The text was updated successfully, but these errors were encountered: