You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: <iron-url-splitter> is ATM purely fictional. I just use it to show how it would look like.
PROs:
Separation of concerns: <iron-location> is responsible for syncing to the url bar only
Atomic updates: Just one string parameter for everything
The disassembly for hash routing could be done properly. The element that does the splitting (here my fictional <iron-url-splitter>) should care about hash routing vs path routing.
Currently it ends up like this: ?key=value#/my/path (Note the reverse order)
It should look like this: #/my/path?key=value
The text was updated successfully, but these errors were encountered:
Hi,
I propose to let
<iron-location>
just sync to the url bar, not split the url string. The splitting should be done by another element.Note:
<iron-url-splitter>
is ATM purely fictional. I just use it to show how it would look like.PROs:
<iron-location>
is responsible for syncing to the url bar only<iron-url-splitter>
) should care about hash routing vs path routing.?key=value#/my/path
(Note the reverse order)#/my/path?key=value
The text was updated successfully, but these errors were encountered: