Misery
.node file not being imported properly?
I don't know if I'm using the tags correctly, but I'm pretty sure this is an advanced question
Trying to make a napi library to generate .node files from rust, and when trying to use the sample function napi provides my component isnt rendered:
I tried externalizing the
backend
code (where i output my napi build) to no avail1 replies
`onMount` not called / Component not rendered?
I seriously do not know why this doesnt work:
as seen in the
onMount
line, im expecting a onMount Triggered
message on my browser devtools but i seemingly get nothing. which leads me to the conclusion that my component isnt being rendered. this is backed up by the fact that the title hasnt changed
any reasons as to how this happens? Im at my wit's end trying to understand why to no avail6 replies
Seemingly random hydration mismatches
Hello! I'm super new to solid js and web frameworks in general
This is the code I use to check if a given server is online
And when I reload it, and only when I reload my webpage does it return a hydration mismatch. I only found out after making a commit.
This is the code that fixed it:
Then I tried copying the
div
from the old code into the p
, to simulate that the that server is online.
I have a few questions:
- Why error on reload and not when it hot reloads/reloads by itself?
- Why arent div
s allowed inside p
s?
Again I only know enough html to make a couple side projects. I've never actually done anything like this before6 replies