Skip to content
Discussion options

You must be logged in to vote

Your lbc crate unconditionally activates the csr and ssr features on leptos: only one of these should be activated at a time, probably by the end user's application.

Since the ssr feature is activated the event listener is never created. On a previous version the framework tried to remove event listeners instead (due to thread-safety issues with JS types) but this was an imperfect process that could cause server-side panics.

This should be resolved by removing the features = ["csr", "ssr"] from leptos in lbc/Cargo.toml

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@goodidea-kp
Comment options

@gbj
Comment options

gbj Dec 16, 2025
Maintainer

Answer selected by goodidea-kp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants