reitit icon indicating copy to clipboard operation
reitit copied to clipboard

frontend: h5 history push-state doesn't support hash

Open lucywang000 opened this issue 4 years ago • 1 comments

with the current code, when using h5 history, there is no way to push state to a url like "/path#foo" because reitit.frontend.history/push-state doesn't take that into consideration. Is that correct? If so i may submit a pr to address that.

lucywang000 avatar Mar 16 '20 13:03 lucywang000

ping @ikitommi

lucywang000 avatar Apr 12 '20 11:04 lucywang000

#581 added support for reading fragment string from the URI to match, but we still don't have way to create URIs with fragments in Reitit-frontend.

Todo:

  • [x] href
  • [x] push-state & replace-state

Deraen avatar Mar 23 '23 09:03 Deraen