Conversation
|
Yes, I work with BrowserRouter only. Making it a singleton will be enough to drop a need for any other global variable. But I'm not sure how does this change relate to cache? |
|
Your cache uses |
|
The default |
|
In typical scenario there is only one Router instance in an application, but I had to add this |
That's true, but in line 91, DelegatedRouter with identity hashcode.
|
|
I think you are right. In my copy of your lib I currently don't use this I've added the |
|
Just to let you know, I've implemented the changes you proposed in this draft in my code and everything seems to work well (of course I still have my global |
@rjaros what do you think of this draft: