Skip to content

chore(deps): update topcoat requirement from =0.8.0 to =0.10.0 - #28

Open
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/cargo/topcoat-eq-0.10.0
Open

dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/cargo/topcoat-eq-0.10.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 12, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on topcoat to permit the latest version.

Release notes

Sourced from topcoat's releases.

v0.10.0

Client side navigation

You can now navigate between server-rendered pages without a full page reload. The new runtime::link component updates the page, title, and browser history while preserving signals shared by both pages. Back and forward navigation restores scroll positions.

use topcoat::{
    Result,
    router::{href, page},
    runtime::link,
    view::{View, view},
};
#[page]
async fn home() -> Result<impl View> {
Ok(view! { link(href: href!(about::page), "About") })
}
mod about {
use super::*;
#[page]
pub async fn page() -&gt; Result&lt;impl View&gt; {
    Ok(view! { &lt;h1&gt;&quot;About&quot;&lt;/h1&gt; })
}

}

To get started, add .runtime() to your router and topcoat::runtime::script() to the document head, with assets configured as described in runtime setup. Links still work without JavaScript. Modifier clicks, downloads, and external links keep their normal browser behavior.

Custom anchors can get the same behavior through link_attrs. Inside a component or page with cx: &Cx:

use topcoat::runtime::{link_attrs, prefetch_mode};
let attrs = link_attrs(cx, href!(about::page), prefetch_mode(cx));
Ok(view! { <a class="nav-link" (attrs)>"About"</a> })

Prefetching

Runtime links can load pages before you open them. By default, prefetching starts on hover, focus, or touch. Viewport starts loading when a link becomes visible, while Never disables prefetching.

use topcoat::runtime::{PrefetchMode, link};
Ok(view! {
link(href: href!(about::page), prefetch: PrefetchMode::Viewport, "About")
link(href: href!(reports), prefetch: PrefetchMode::Never, "Reports")
})
</tr></table>

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [topcoat](https://github.com/tokio-rs/topcoat) to permit the latest version.
- [Release notes](https://github.com/tokio-rs/topcoat/releases)
- [Changelog](https://github.com/tokio-rs/topcoat/blob/main/release-plz.toml)
- [Commits](tokio-rs/topcoat@v0.8.0...v0.10.0)

---
updated-dependencies:
- dependency-name: topcoat
  dependency-version: 0.10.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Oct 12, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies, rust. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants