How to use create_local_resource with signals? #4316
Replies: 2 comments
-
It's not obvious to me what the problem would be here, but it's possible it has to do with the way the resource is being used. Is the program working as expected? I'm also a little confused by this code, which I don't think compiles, and certainly not on a recent version -- |
Beta Was this translation helpful? Give feedback.
-
The program itself works - these are the versions I am using
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to develop a tiny game as a client-side rendered SPA
This is my code so far:
Now I get this warning in the browser console when I run it
I don't really get what is causing the issue. I tried different things for creating the signal (RwSignal::new vs signal() vs cx.create_rw_signal) but nothing really helps here. I can't see what I'm missing
Beta Was this translation helpful? Give feedback.
All reactions