SolidJSS
SolidJSโ€ข9mo agoโ€ข
17 replies
webstrand

Stale read in <List><Show><List>

https://playground.solidjs.com/anonymous/ccb906d4-c9f1-437f-9f72-e94279b0e25d

I am stumped, I don't know why the stale read is happening, I don't know why it's triggered by that stream of states and not others.

Note that the playground doesn't render the error message correctly, here's the dev message:
Uncaught Error: Attempting to access a stale value from <Show> that could possibly be undefined. This may occur because you are reading the accessor returned from the component at a time where it has already been unmounted. We recommend cleaning up any stale timers or async, or reading from the initial condition.
Quickly discover what the solid compiler will generate from your JSX template
Was this page helpful?