
Add and remove Bolt wrappers between pages for dynamic content loading.
Sometimes you want to paginate content and not have the user lose their spot, Bolt gives you control over when to reset scroll position and will merge incoming DOM elements with old DOM elements.
You can have multiple routers on a page.
The above gallery is technically two different pages but Bolt determines what has changed and persists elements that haven't changed. If you open dev tools you can see how Bolt handles incoming and outgoing DOM from page to page.
👇