Skip to content
Discussion options

You must be logged in to vote

My first and best answer to questions like this is always a suggestion: Try forking the repo, removing the bound, and then following the chain of errors all the way down to see what happens. I don't say this in a condescending way, but in a very practical way: It's very likely that in the end, the compiler will show the interrelationship of the various trait bounds here in a much more helpful way than I or anyone else can do just by trying to describe it from the top.

Am I right that LocalResource does not require Send-bounds because WASM is single-threaded, so all execution happens on the same thread? ... Also, LocalResource is evaluated only on the client-side, so server-side rendering…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sgoll
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