Skip to content

Commit

Permalink
feat: made hydration the default
Browse files Browse the repository at this point in the history
This also involved requiring a Sycamore version greater than
v0.7.1 (which fixed the variables interpolation duplication bug).
  • Loading branch information
arctic-hen7 committed Dec 17, 2021
1 parent 4c3cc6c commit 00258dd
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions examples/basic/.perseus/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ edition = "2018"
app = { package = "perseus-example-basic", path = "../" }

perseus = { path = "../../../packages/perseus" }
sycamore = { version = "0.7", features = ["ssr"] }
sycamore-router = "0.7"
sycamore = { version = "^0.7.1", features = ["ssr"] }
sycamore-router = "^0.7.1"
web-sys = { version = "0.3", features = ["Event", "Headers", "Request", "RequestInit", "RequestMode", "Response", "ReadableStream", "Window"] }
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
Expand Down
2 changes: 1 addition & 1 deletion packages/perseus-actix-web/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ serde_json = "1"
thiserror = "1"
fmterr = "0.1"
futures = "0.3"
sycamore = { version = "0.7", features = ["ssr"] }
sycamore = { version = "^0.7.1", features = ["ssr"] }
2 changes: 1 addition & 1 deletion packages/perseus-warp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ serde_json = "1"
thiserror = "1"
fmterr = "0.1"
futures = "0.3"
sycamore = { version = "0.7", features = ["ssr"] }
sycamore = { version = "^0.7.1", features = ["ssr"] }
6 changes: 3 additions & 3 deletions packages/perseus/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ categories = ["wasm", "web-programming", "development-tools", "asynchronous", "g
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
sycamore = { version = "0.7", features = ["ssr"] }
sycamore-router = "0.7"
sycamore = { version = "^0.7.1", features = ["ssr"] }
sycamore-router = "^0.7.1"
perseus-macro = { path = "../perseus-macro", version = "0.3.0-beta.23" }
# TODO review feature flags here
web-sys = { version = "0.3", features = ["Headers", "Navigator", "NodeList", "Request", "RequestInit", "RequestMode", "Response", "ReadableStream", "Window"] }
Expand All @@ -36,7 +36,7 @@ unic-langid = { version = "0.9", optional = true }
intl-memoizer = { version = "0.5", optional = true }

[features]
default = []
default = [ "hydrate" ]
translator-fluent = ["fluent-bundle", "unic-langid", "intl-memoizer"]
# This feature makes tinker-only plugins be registered (this flag is enabled internally in the engine)
tinker-plugins = []
Expand Down

0 comments on commit 00258dd

Please sign in to comment.