What is the idiomatic way to create a universally reusable solidjs component library?
Server file being bundled on the frontend and env variable is undefined when used via process.env

Async in onMount OK?
Express, SolidJS, and Solid Router- SSR Troubles
Is there an idiomatic way for creating dependency injecting components?
Possible solidjs bug?
Get intended URL a "use server" query is called from
referer
header works if I visit the URL directly, but for client-side navigation using a <A>
or navigate()
the referer
header is from before the navigation completes.
Currently, I am passing the path as a parameter to the query. Is there a better way to do this? One small downside is since the query is called with different keys, the cached value isn't used. Mainly I'd like to avoid manually passing the current path everywhere I use the query....Expose a Function Outside of Component
@solid-primitives/virtual
, namely support for dynamic item sizes and fixes to broken reactivity.
I implemented a scrollToItem
utility function that is now returned from createVirtualList
. This works perfectly fine if you are just using the headless virtual list.
However, there is a VirtualList
component that abstracts away the HTML boilerplate required for createVirtualList
to function. For convenience, I would like to expose the scrollToItem
function for use outside of VirtualList
. Problem is, I have yet to find an idiomatic way to accomplish this after searching around for a bit....How to sync two different signals inside a store maybe
same domain hrefs getting 404
//*[@id="main-content"]/div/div/div[1]/div/div[2]/ul/li[1]/p[1]/a
now change href of element to https://www.solidjs.com/img/bios/ryan-carniato.jpeg
...Worker exceeded startup limits cloudflare
✘ [ERROR] Your Worker failed validation because it exceeded startup limits.
It only happens with SSR enabled. I do not have big app and cpuprofile is below 200ms i added photo.
This only happens sometimes even rebuild can fix this problem....
drag event not working?
add headers to public assets
Reactivity issues
Index
to render it. Whenever I remove an object from that array, its data gets "shifted" around, until I modify an attribute of that array that has an effect on rendering. Using For
fixes this issue but it introduces a plethora of other bugs, like the settings popover for that object losing focus from the text input element (because the element based on that object data is being remade, including the settings popover). I asked LLM AIs to no avail. In Vue, I'd usually fix that by assigning it a different key
value to trigger a rerender.
I am lost and confused, please point me to the right direction....Cookies, SSR, and CSR
Pass props to component via navigation
/register
captures email + password
/verify
captures the verification code that was sent via email
...Invalid import by kobalte

I'd like to run some code in my component, but only once.
createEffect
, since it is supposed to run some time after the component is first rendered, but it must never be run more than once during the component lifecycle. I thought I'd use a local Boolean variable for that, like this:
```
function MyComponent() {
const [dataLoaded, setDataLoaded] = createSignal(false);
let actionPerformed = false; // This flag ensures the action runs only once...Reactivity issues in Solid with vanilla HTML and JavaScript