Jeremy
Explore posts from serversError in production only: <A> and 'use' router primitives can be only used inside a Route.
This is really weird one. Using vite + SolidJS on the latest versions. The error occurs only when serving a production build. Dev works fine. I've been banging my head on a wall trying to figure this out.
Any debugging ideas? It's in a very complex app so somewhat hard to debug by elimination or reproduction although I will attempt a repro today.
Possibly helpful to say production builds were working on my local machine but showed this error when deployed after being build in Docker. Seeing this, I rm -rfed node_modules and reinstalled, which made my local behavior match the deployed (showing this context error).
This has been a little demoralizing because I have no thread to pull, no way to find out what's going on here.
22 replies
Behavior of query.set / cache.set
Hello,
I am trying to preform some optimistic updates with the SolidStard data loading features. I've found the undocumented
.set
function on query
(previously named cache
) but can't seem to get it to mutate any data. Calling it seems to have no effect on createAsync
stores.
A couple threads have asked about this but have not received answers. Would anyone be able to shed light on the subject?2 replies
DTDrizzle Team
•Created by Jeremy on 5/4/2024 in #help
Is there a way to have Prototype / Push run without confirmation?
I have some integration tests that need to fill out a new database with the current schema. Currently I'm programatically running
drizzle-kit push:pg
but it requires a keyed confirmation before it pushes the schema. Is there a more direct way to run it programatically or some secret flag to disable the prompt?
Cheers!4 replies