I want to trigger a get request cycle without change in browser history. I have tried
Turbo.visit(url, { action: "advance" });
Turbo.visit(url, { action: "replace" });
But both change history.
You can use the action option with visit to trigger a get request cycle without changing browser history. visit(url, { action "advance" }) visit(url, { action "replace" })
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.