Replies: 1 comment 1 reply
-
I can't even get surrealdb to compile with that Cargo.toml, but get I guess I'll say: that error is coming from SurrealDB, given the text. What I see on the Leptos side is a very simple app that runs one |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am observing an issue when querying a SurrealDB (sitting on top of the browsers IndexedDB) within a Leptos component. I don't know whether this is due to a Leptos bug, a SurrealDB bug, or whether I am just doing things in an unintended way. The issue can be reproduced with both Chrome and Firefox, but it only occurs when the app is compiled in debug mode. I hope you can help me shedding some light into this.
What my app does:
What I observe:
At first glance, everything seems to work fine when I run
trunk serve
. The query result appears in the browser immediately. However, after about 20 seconds the app panics (only when compiled in debug mode!). The console shows a lengthy error message containingA transaction was dropped without being committed or cancelled
.How can I find out what is going on?
My minimal example app:
Beta Was this translation helpful? Give feedback.
All reactions