-
Notifications
You must be signed in to change notification settings - Fork 1.7k
HistoryStore for tracking relevant routes #4305
Conversation
@@ -16,11 +16,15 @@ | |||
|
|||
import { | |||
Accounts, Account, Addresses, Address, Application, | |||
Contract, Contracts, Dapp, Dapps, | |||
Contract, Contracts, Dapp, Dapps, HistoryStore, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not 100% convinced on this location as ~/views/historyStore.js
. It is only related to keeping a history of views so ~/views
makes sense in a weird way, but I'm open to suggestions to other locations for the sake of consistency.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be better in ~/util
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My knee-jerk reaction was that ~/util
is even worse, my thoughts after 30s is that it may fit. (Although it really is meant for swiss-army-knife utilities)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep that's what I think too but it's true that it feels a bit strange/out-of-place in ~/views
... @derhuerst any thoughts?
|
Leaving the path for now - I'm actually hoping another store ends up being the same that way will move it in |
Split from https://github.com/ethcore/parity/pull/4178