An example of how to out of HTML out of order streaming in Rust without any JavaScript using as few dependencies as possible. This is made possible by using declarative shadow DOM. For a more in depth explanation of how this works, check out this blog post by @lamplightdev.
Declarative Shadow DOM is part of Baseline 2024 and supported by all major browsers.