Skip to content

Commit

Permalink
fix: made hydration opt-in
Browse files Browse the repository at this point in the history
Default features can't be disabled without ejecting, so this should be
opt-in until upstream bugs are resolved.
  • Loading branch information
arctic-hen7 committed Dec 20, 2021
1 parent bd58daa commit 4fd38a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/perseus/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ unic-langid = { version = "0.9", optional = true }
intl-memoizer = { version = "0.5", optional = true }

[features]
default = [ "hydrate" ]
default = []
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 All @@ -46,4 +46,5 @@ server-side = []
# This feature changes a few defaults so that Perseus works seemlessly when deployed with the `.perseus/` structure (this is activated automatically by `perseus deploy`, and should not be invoked manually!)
standalone = []
# This feature enables Sycamore hydration by default (Sycamore hydration feature is always activated though)
# This is not enabled by default due to some remaining bugs (also, default features in Perseus can't be disabled without altering `.perseus/`)
hydrate = []

0 comments on commit 4fd38a6

Please sign in to comment.