template2 is not a function - how to solve
Does anyone have a set of best practices or guidelines on how to not run into hydration issues when using
I'm only getting the
After a bunch of iterating I managed to make it throw the error less (maybe 1 in 4) with this code:
Looking for advice or ways to completely solve the issue though if anyone has experience in that area. Thanks!
Show or other conditional rendering in SolidStart? I've had some sneaky template2 is not a function errors creeping in today and I've finally managed to narrow it down to what piece of code is causing the error but am not really clear on how I can solve the issue.I'm only getting the
template2 error on first page load after a dev server restart - after that it seems to work fine but its really bugging me. My first version of code (which errored about 4 in every 5 first page loads) was:After a bunch of iterating I managed to make it throw the error less (maybe 1 in 4) with this code:
Looking for advice or ways to completely solve the issue though if anyone has experience in that area. Thanks!

SolidStart