Misery
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