Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Other misc useful integrant helpers #17

Open
SevereOverfl0w opened this issue Nov 13, 2020 · 0 comments
Open

Other misc useful integrant helpers #17

SevereOverfl0w opened this issue Nov 13, 2020 · 0 comments

Comments

@SevereOverfl0w
Copy link

A few things which seem potentially useful:

  • restart - shorthand for (suspend) (resume) - skips the refresh
  • (find-component :k) - shorthand for (find-derived-1 integrant.repl.state/system :k). Useful for defining REPL helpers like (defn db [] (find-component :db)) instead of having to code against the specific implementation in use (which could change!)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant