[][src]Crate rust_wasm_dodrio_router

rust_wasm_dodrio_router

wasm router for local hash routes for dodrio vdom
repo; version: 0.5.2 date: 2021-01-13 authors: Luciano Bestia

Lines in Rust code Lines in Doc comments Lines in Comments Lines in examples Lines in tests

local router with hash for dodrio vdom

I needed a router for local hash routes in rust wasm for dodrio vdom.
This library contains the generic parts.

In the project add a file/mod with specific implementation code like this example:
https://github.com/LucianoBestia/unforgettable7_game/blob/master/unforgettable7/src/router_impl_mod.rs

cargo crev reviews and advisory

It is recommended to always use cargo-crev
to verify the trustworthiness of each of your dependencies.
Please, spread this info.
On the web use this url to read crate reviews. Example:
https://web.crev.dev/rust-reviews/crate/num-traits/

Modules

router_mod

router_mod - A simple #-fragment local router for dodrio vdom and html templating This is the trait module. It is a lib crate. It does not know anything about the data model of the project. That is abstracted away with field get/set methods to implement. All the implementation for a project are isolated in the project module router_impl_mod. I couldn't abstract it away from dodrio vdom. It is still a dependency.