lili/lilith
lili/lilith
Explore posts from servers
SSolidJS
Created by lili/lilith on 4/15/2025 in #support
Cannot run React alongside SolidJS in Astro
The Error:
[vite] The requested module 'solid-js/jsx-dev-runtime' does not provide an export named 'jsxDEV'
[vite] The requested module 'solid-js/jsx-dev-runtime' does not provide an export named 'jsxDEV'
My Astro Config:
...
import react from "@astrojs/react";
import solid from "@astrojs/solid-js";
...

// https://astro.build/config
export default defineConfig({
...
integrations: [
solid({
include: ["**/solid/*"],
}),
react({
exclude: ["**/solid/*"],
})
...
});
...
import react from "@astrojs/react";
import solid from "@astrojs/solid-js";
...

// https://astro.build/config
export default defineConfig({
...
integrations: [
solid({
include: ["**/solid/*"],
}),
react({
exclude: ["**/solid/*"],
})
...
});
I don't believe it's an issue with my component. I'm trying to compile anything inside a "solid" directory (any of the parent directories that match that) with SolidJS, and everything else with react
7 replies
SSolidJS
Created by lili/lilith on 11/23/2023 in #support
Component does not rerender when the state changes
I have attached the render logic in the attached file, the only relevant missing part is this from the top of the component
const [currentPopup, setPopup] = createSignal(null)
const [currentPopup, setPopup] = createSignal(null)
for some reason the console.log statement inside doRender is only called once and never after setPopup is called, even though I confirmed that the value is getting set inside the click listener. Please help ;.;
11 replies
SSolidJS
Created by lili/lilith on 1/12/2023 in #support
How to make an Isomorphic Component Library?
What's the proper way to deploy a SolidJS component library with isomorphic rendering?
4 replies
SSolidJS
Created by lili/lilith on 12/6/2022 in #support
Is the on change broken for file inputs?
It only ever seems to trigger once, and it's not processing updates. I might have screwed something up.
4 replies