Open mathiversen opened 5 years ago
Ah thanks for pointing this out!
Here's an example of what I did using the isomorphic example.
lib.rs
impl App {
pub fn render(&self) -> VirtualNode {
match self.router.view(self.store.borrow().path()) {
Some(route) => route,
None => NotFoundView::new().render(),
}
}
}