-
Couldn't load subscription status.
- Fork 15
Open
Description
Not tried using a state management library, I have followed the examples and have everything working.
What I do not get is how I reference state, so say I bring up the db in start how do I then access the db connection, normally I would (defonce crux-db (run-crux)) then reference crux-db in my code, I have found clip/ref but that seems not to return an instance of the command run in startup of clip.
how would I get the connection for a db like postgres or crux ?
The only examples I could find seem to pass the connection in to all functions instead of setting it globally.
Metadata
Metadata
Assignees
Labels
No labels