Thanks to visit codestin.com
Credit goes to github.com

Skip to content

What am I missing ? #22

@olymk2

Description

@olymk2

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions