router icon indicating copy to clipboard operation
router copied to clipboard

Make it easier to select query params, route params out of the store

Open SethDavenport opened this issue 7 years ago • 2 comments

Currently we just stick the raw URL in the store:

screen shot 2017-02-27 at 10 38 27 pm

This is enough to allow time travel over app routes, which is handy. However, consider

Contrast this with how react-router-redux does things:

screen shot 2017-02-27 at 10 43 43 pm

Breaking down the query params into an object; possibly also doing the same thing with route params, would make it much easier to make combination selectors from store and router state using select or @select.

SethDavenport avatar Feb 28 '17 03:02 SethDavenport

Now with @angular-redux/router is not possible get Query Params or Router Params ? So to get an Query Param or Router Param we should use regex with @select() ?

antl3x avatar Jul 28 '17 12:07 antl3x

Almost a year past the original question was asked, yet nothing has been done. Should we consider the issue as "we don't care", or just nobody has time to do that? Would be handy to at least get a minimal feedback on the status.

Buslowicz avatar Feb 13 '18 13:02 Buslowicz