You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On any change that causes a reload (HMR) i get the error message Cannot set properties of null (setting 'className') at dev.js:166. I do not use className as jsx/tsx property.
Expected behavior 🤔
When i do a HMR change solid doesn't "crash" and displays the changes made to the sourcecode (unless there is an error in my code) OR throws an error message that i can fix
There is not a lot to say - it crashes on every single change :(
I left so much code in the snippet above since i have no clue what triggers it and it would be very tedious to remove every class every attribute one by one
Upon inspecting it seems like the JSX transformed code is just wrong. lastSibling is used to access the <div class={flex-col flex w-full ${open() ? "fuk you i guess":"hidden"}}> node but well that returns null
Your environment 🌎
OS: Kubuntu 24.04.1 LTS x86_64
CPU: AMD Ryzen 7 PRO 4750U with Radeon Graphics (16) @ 1.700GHz
npm: 10.1.0
bun: 1.1.26 (tested with both npm/bun in isolation)
solid-start: 1.0.6
The text was updated successfully, but these errors were encountered:
Duplicates
Latest version
Current behavior 😯
On any change that causes a reload (HMR) i get the error message
Cannot set properties of null (setting 'className')
atdev.js:166
. I do not useclassName
as jsx/tsx property.Expected behavior 🤔
When i do a HMR change solid doesn't "crash" and displays the changes made to the sourcecode (unless there is an error in my code) OR throws an error message that i can fix
Steps to reproduce 🕹
Either see: https://stackblitz.com/edit/solidjs-templates-7xy2wh?file=src%2FApp.tsx and open preview in new tab
OR
src/routes/index.tsx
Context 🔦
There is not a lot to say - it crashes on every single change :(
I left so much code in the snippet above since i have no clue what triggers it and it would be very tedious to remove every class every attribute one by one
Upon inspecting it seems like the JSX transformed code is just wrong.
lastSibling
is used to access the<div class={
flex-col flex w-full ${open() ? "fuk you i guess":"hidden"}}>
node but well that returnsnull
Your environment 🌎
OS: Kubuntu 24.04.1 LTS x86_64 CPU: AMD Ryzen 7 PRO 4750U with Radeon Graphics (16) @ 1.700GHz npm: 10.1.0 bun: 1.1.26 (tested with both npm/bun in isolation) solid-start: 1.0.6
The text was updated successfully, but these errors were encountered: