vik
Explore posts from serversHow to array.filter Signal with array and pass down as Signal
I solved this for now and understood a bit better reactivity of solidjs with help of thetarnav.
Last comment showed what would not work, when option is an array, but not a function or Accessor. This thread shows shows a few approaches I have tried out. Finally I am choosing comobobox prop option to be a function. If I just pass down an array it won't work, because of lazy load feature of solidjs.
16 replies
How to array.filter Signal with array and pass down as Signal
I know, but then I never really checked if the effect was working and it was probably not crucial for current state of progress.
So CombBox is a component, I would like to use it for different option[] kinds. I am not so sure about React anymore, I think would just rerender that complete ComboBox, on filter, so that might have worked in react?! But again I am not sure.
Finding my way back to think reactive, think solidjs.
16 replies
Is it possible to make two separate SolidJS 'apps' work on the same page?
@Ron W how do use a solidjs component in wordpress? I need to create a wordpress page and my solid app in the page. I thought of creating a wordpress plugin or a page in in child-theme. (wp makes things so much more complicated :/)
13 replies