I want to implement a feature. When I enter content in the form of
hey.com has similar features, but I found that they haven’t changed the current url.
Using the native
history.replaceState will break the history of turbo. I found that there is a method
Turbo.navigator.history.replace(location, restorationIdentifier), but the required Location class has no export.
So how to change the url and be compatible with Turbo history, any other suggestions?