Deflaktor
Deflaktor
SSolidJS
Created by Deflaktor on 5/29/2024 in #support
create example solidstart project takes forever
No description
13 replies
SSolidJS
Created by Deflaktor on 7/15/2023 in #support
Losing reactivity in production build due to multi-project setup lib <--> app
So Im having an issue that my createEffect() is not being triggered. Everything works as expected as long as I use the vite command. But when I use vite build && vite preview it does not work anymore. The createEffect is only ever triggered once and subsequent accesses of the signal do not trigger it anymore. How can I debug such a case?
14 replies
SSolidJS
Created by Deflaktor on 7/6/2023 in #support
Forward ref downstream
How can I forward a HTMLElement reference to a downstream component? i.e:
<div ref={theDiv}>
<MyComponent refToTheDiv={theDiv}/>
</div>
<div ref={theDiv}>
<MyComponent refToTheDiv={theDiv}/>
</div>
so that I can use the div inside of MyComponent
8 replies