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
I'm still getting mostly the same error:
[astro-island] Error hydrating /src/layouts/functional-components/product/ProductGallery.tsx SyntaxError: The requested module 'http://localhost:4321/node_modules/.vite/deps/solid-js_jsx-dev-runtime.js?v=6cc3ef8f' doesn't provide an export named: 'jsxDEV'
[astro-island] Error hydrating /src/layouts/functional-components/product/ProductGallery.tsx SyntaxError: The requested module 'http://localhost:4321/node_modules/.vite/deps/solid-js_jsx-dev-runtime.js?v=6cc3ef8f' doesn't provide an export named: 'jsxDEV'
7 replies
SSolidJS
Created by lili/lilith on 4/15/2025 in #support
Cannot run React alongside SolidJS in Astro
Update I believe to have tracked it down to this line in my tsconfig.json:
"jsxImportSource": "react"
"jsxImportSource": "react"
I'm still stuck because I don't know how or if it's possible to make typescript work with solidjs and react together. Can anyone help me figure out how to fix this?
7 replies
SSolidJS
Created by lili/lilith on 4/15/2025 in #support
Cannot run React alongside SolidJS in Astro
7 replies
SSolidJS
Created by lili/lilith on 4/15/2025 in #support
Cannot run React alongside SolidJS in Astro
Also yes I would rather run purely solidJS but my website is based on a template that has written a ton of code in React already, and I don't want to rewrite everything.
7 replies
SSolidJS
Created by lili/lilith on 11/23/2023 in #support
Component does not rerender when the state changes
Thank you!
11 replies
SSolidJS
Created by lili/lilith on 11/23/2023 in #support
Component does not rerender when the state changes
Hooray wrapping it in a fragment worked 🙂
11 replies
SSolidJS
Created by lili/lilith on 11/23/2023 in #support
Component does not rerender when the state changes
Ill try wrapping it in a fragment
11 replies
SSolidJS
Created by lili/lilith on 11/23/2023 in #support
Component does not rerender when the state changes
yes thats what I'm doing
11 replies
SSolidJS
Created by lili/lilith on 11/23/2023 in #support
Component does not rerender when the state changes
Also I thought it could "rerun" if it was wrapped in a closure (like im doing here)
11 replies
SSolidJS
Created by lili/lilith on 11/23/2023 in #support
Component does not rerender when the state changes
what can I do to make it so that it renders a popup instead of the main component content conditionally upon that signal changing?
11 replies
SSolidJS
Created by lili/lilith on 1/12/2023 in #support
How to make an Isomorphic Component Library?
can you provide an example of this setup?
4 replies
SSolidJS
Created by lili/lilith on 12/6/2022 in #support
Is the on change broken for file inputs?
nvm I had a syntax error
4 replies
SSolidJS
Created by lili/lilith on 12/6/2022 in #support
Is the on change broken for file inputs?
I'm also using a form that accepts multiple files
4 replies