SolidJSS
SolidJSโ€ข3y agoโ€ข
6 replies
Driver

Bug with `solid-js/store` and `solid-primitives/history`

I ran into a bug and reproduced it in this stackblitz. For some reason with this configuration of the store object like this: { [key: number]: { image: { id: number } | undefined; } } the history object is starting to resurrect it incorrectly, like skipping the state (see in the video)

My guess is that the reconcile function is not working correctly, but I could be wrong

https://stackblitz.com/edit/solidjs-templates-jzapxh?file=src%2Ftest-todo.comopnent.tsx
Was this page helpful?