Use Common Store in js file and edit it using file 1 then use it in file 2. - SolidJS