Dynamically creating resources based on reactive state in Solid Store - SolidJS