SolidJSS
SolidJSโ€ข2y agoโ€ข
6 replies
QWu4xYV

enableScheduling causes simple solid router examples to crash

Hi, I was going to file this as a bug, but wasn't sure if I should direct it at the router repo or the main solidjs repo.

In short, I enabled scheduling with enableScheduling in an App I've been playing around with, in the hopes that it could help a bit with some perf issues. It didn't make too much of a difference, but I forgot to turn enableScheduling back off. When I added Router, I got weird errors that I eventually traced back to enableScheduling. Repro here: https://stackblitz.com/edit/solidjs-templates-gttqb3?file=src%2FApp.tsx,src%2Findex.tsx

If this is expected behavior, I'd be curious to understand more ๐Ÿ™‚
StackBlitz
Vite + solid templates
enableScheduling with router - StackBlitz
Was this page helpful?