TripleSmile
How to use a resource in a structure field as a reactive signal?
this would probably make my life a lot easier but I had made architectural mistakes so to say and just trying to finish things up so the code is weird and reason is missing 😅
10 replies
How to use a resource in a structure field as a reactive signal?
isnt resource a signal itself? I suppose using resource to set value to another signal and using that in my structure would just do the same thing and would't update. Or am I missing something here?
10 replies
How to use ref both inside and outside(parent) component?
It kinda works but the code looks a bit weird to me. Maybe I'm doing this wrong? 😄 I've read some information about refs but I don't understand exactly how to think about what's happening under the hood so to say. I don't fully understand what is asigned where and when...
14 replies
How to use ref both inside and outside(parent) component?
I think this tutorial is relevant maybe, but it doesn't do anything with ref inside Canvas.jsx:
https://www.solidjs.com/tutorial/bindings_forward_refs?solved
14 replies