Some Afk Guy
reactivity works in vite dev but fails in vite build
Thank you for the help @peerreynders :cheers:
I have fiddled with your fiddle to more accurately represent my file structure.
https://playground.solidjs.com/anonymous/27b4ad67-6edc-488d-95db-1f93410043ad
One think i thing i think i am learning from this process is that the previous toggleMenu had the potential to cause reactivity issues
The linter was giving me warnings since
solidStore.openMenus[menu]
is being referenced as a dynamic value, but was not being created in a reactive context so could cause issues during the build?
But despite my attempts at understanding whats going on, I could not get the window to show in the build version of the app. I think im gonna try to restart from a blank new vite project because the playground at least shows a POC that my approach should work....
I tried usingContext/memos and signals just to see all of these variants work, but never in build 😦7 replies