Error "tried to create a signal in a runtime that has been disposed" #1

Closed
opened 2024-02-04 21:42:05 +00:00 by jmmb13 · 4 comments
jmmb13 commented 2024-02-04 21:42:05 +00:00 (Migrated from gitlab.com)

Hello, I'm new to Rust and I'm developing a CSR website, I was trying to use this crate but this error appeared:
image
Does this crate can be used in CSR? (it seems it can since it only uses signals)
I tried to use it as the example shown, and added this to App:
image
And this to the navbar:
image
image

Can you help me with that?
Thank you,
Marcelo

Hello, I'm new to Rust and I'm developing a CSR website, I was trying to use this crate but this error appeared: ![image](/uploads/cd31b7378727408a65ed2e661fac8391/image.png) Does this crate can be used in CSR? (it seems it can since it only uses signals) I tried to use it as the example shown, and added this to App: ![image](/uploads/aaabe6afc7e7af357bafdadb3e5f4ede/image.png) And this to the navbar: ![image](/uploads/ae0b3911353791a4b3fc59e8cdee00a9/image.png) ![image](/uploads/1f429b788c329fad5073aae3b5937e40/image.png) Can you help me with that? Thank you, Marcelo
kerkmann commented 2024-02-07 15:08:04 +00:00 (Migrated from gitlab.com)

mentioned in merge request !1

mentioned in merge request !1
kerkmann commented 2024-02-07 15:47:05 +00:00 (Migrated from gitlab.com)

mentioned in commit 8b729a3490

mentioned in commit 8b729a34904cd357b513a5624bdcc241450a6a52
kerkmann commented 2024-02-07 15:49:31 +00:00 (Migrated from gitlab.com)

Thanks @jmmb13 for the contribution, it should be solved and is published an crates.io. Please let me know if it's not working. 😄

I think it was related to a version mismatch. :D

Thanks @jmmb13 for the contribution, it should be solved and is published an crates.io. Please let me know if it's not working. :smile: I think it was related to a version mismatch. :D
jmmb13 commented 2024-02-11 13:20:34 +00:00 (Migrated from gitlab.com)

Thank you @kerkmann , it works :D
image
image
Now I need to learn how to change the colors and so on, but thank you mate!!

Thank you @kerkmann , it works :D ![image](/uploads/b394be7bf7854e850067084db7894a0a/image.png) ![image](/uploads/c95ea08305c7aa5df7668be6e3c45c54/image.png) Now I need to learn how to change the colors and so on, but thank you mate!!
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kerkmann/leptos_darkmode#1
No description provided.