Fork me on GitHub
#mount
<
2019-07-09
>
pinkfrog05:07:25

is there any tutorial on #mount ?

Ahmed Hassan09:07:03

@i docs are well written.

pinkfrog09:07:18

yup. i am following that.

pinkfrog09:07:29

it has lots of stuff. but it’s not well written.

pinkfrog09:07:38

for (novice audience)

pinkfrog09:07:57

for example, it’s not self-contained. what’s the definition of create-conn? and disconnect?

pinkfrog09:07:10

the article itself doesn’t form a working minimal example.

pinkfrog09:07:29

though i am now mostly fine with the basic idea of mount.

Ahmed Hassan09:07:15

create-conn is any function that creates or starts connection.

Ahmed Hassan09:07:44

Like websocket or db connection.

tolitius13:07:35

@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

cjmurphy20:07:12

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.

tolitius20:07:21

@cjmurphy great, thanks. I updated the docs.