Skip to content

Commit

Permalink
fix: remove use-teamplte since the performance benefits is not there
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanceras committed Apr 24, 2024
1 parent 73ac2f2 commit 5040356
Show file tree
Hide file tree
Showing 14 changed files with 32 additions and 594 deletions.
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ with-trace = ["sauron-core/with-trace"]
# lets you use node! macro to write html like code in the view
with-node-macro = ["sauron-macro"]
html-parser = ["sauron-html-parser"]
use-template = ["sauron-core/use-template"]
use-skipdiff = ["sauron-core/use-skipdiff"]


Expand Down
1 change: 0 additions & 1 deletion crates/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ with-interning = [] # use caching of strings when crossing rust to js, for faste
ensure-check = [] #do checking if pending msgs, patches, cmds, has been processed accordingly to ensure proper order and synchronized dom state
ensure-attr-set = [] #ensure attributes is reflected into the element by explicitly calling the element corresponding methods aside fro just setting its attribute by name
test-fixtures = [] #include the test-fixtures for updating the program with the supplied vdom
use-template = [] #use the templated view and building before hand
use-skipdiff = [] #use skipdiff to selectively skip attributes that can not change
with-trace = [] #take measurement on each section when using template to render component

Expand Down
2 changes: 0 additions & 2 deletions crates/core/src/dom/component.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ pub use stateful_component::{stateful_component, StatefulComponent, StatefulMode

#[cfg(feature = "with-dom")]
mod stateful_component;
#[cfg(feature = "use-template")]
pub(crate) mod template;

/// A component has a view and can update itself.
///
Expand Down
374 changes: 0 additions & 374 deletions crates/core/src/dom/component/template.rs

This file was deleted.

Loading

0 comments on commit 5040356

Please sign in to comment.