is there any tutorial on #mount ?
@i docs are well written.
yup. i am following that.
it has lots of stuff. but it’s not well written.
for (novice audience)
for example, it’s not self-contained. what’s the definition of create-conn? and disconnect?
the article itself doesn’t form a working minimal example.
though i am now mostly fine with the basic idea of mount.
create-conn
is any function that creates or starts connection.
Like websocket or db connection.
@i thanks for the feedback, I added a small clarification about create-conn
in the docs
if there is too much in the docs to digest right away take a look at some sample apps to get a better feel: https://github.com/tolitius/stater
One thing that got me about the docs is I never knew where load-config
came from. As it turns out there's such a function in one of your libraries (cprop). But also other people's libraries, or it is simple to write your own. And it doesn't have to be a special kind of function. That's different to Integrant where there can be Integrant reader literals in the .edn file.
@cjmurphy great, thanks. I updated the docs.