How can I synchronize two stores without running into an infinite loop? - SolidJS