Skip to content

Commit

Permalink
fix: 🐛 changed __perseus_content_rx to use id instead of class
Browse files Browse the repository at this point in the history
Class is still available, but will be removed in the next major release.
  • Loading branch information
arctic-hen7 committed Sep 26, 2021
1 parent 5d98b58 commit e504f6d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/basic/.perseus/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,9 @@ pub fn run() -> Result<(), JsValue> {
// This template is reactive, and will be updated as necessary
// However, the server has already rendered initial load content elsewhere, so we move that into here as well in the app shell
// The main reason for this is that the router only intercepts click events from its children
// TODO remove class in v0.3.0 (deprecated)
template! {
div(class="__perseus_content_rx", ref=container_rx) {}
div(id="__perseus_content_rx", class="__perseus_content_rx", ref=container_rx) {}
}
}))
}
Expand Down

0 comments on commit e504f6d

Please sign in to comment.