I have checked thoroughly and found that SolidJS does not have an observable where one can subscribe to store reactive primitives, only signals as far as I know. What is the observable used here if that is the case?
const unsubscribe = store.subscribe(({ todos }) => {
setState('todos', reconcile(todos))
});
onCleanup(() => unsubscribe());
If subscribing to such values is not possible, how do I track the changes inside my store and execute some statements accordingly with the store just as a tracking dependency?