Fork me on GitHub

I am going to create a web app to display server side events (iot). So websockets. Is this template good(preferred) starting point? What is best practice to start a new fulcro project in general? to clone a template? clone old project. Or to cherry pick from old projects?


... and it is 10 commits ahead and 15 behind.


Yep. Unless you need something specific from there, I'd guess it's better to stick to the official.


I will try to rebase, 3 files with conflicts


I found a typo in wrong: [com.fulcrologic.fulcro.networking.websockets-remote :as fws])) correct: [com.fulcrologic.fulcro.networking.websocket-remote :as fws]


Pull requests are welcome.

💯 1
Jakub Holý (HolyJak)17:03:50

In general, the official templates are the recommended starting point.

👍 1

Hey, what is this line trying to communicate from the fulcro book?

Note that our mutation's symbol is actually `app.mutations/delete-person`, but the first layer of evaluation (calling a mutation as a function just returns the call itself) will rewrite it to `(app.mutations/delete-person …​)`. I don't understand the difference. I see a function call in the second case but I don't think that's the emphasis; or at least, I don't understand the emphasis.


Oh, I think I understand. Where it says "rewrite it to" I read "it" as referring to app.mutations/delete-person but it's actually referring to api/delete-person. Thanks @U051V5LLP and @U0522TWDA , I think I was stumbling on the phrasing since I didn't understand enough the context well enough.

Jakub Holý (HolyJak)16:03:48

just call a mutation as a fn from the REPL and you will see what it does. Experiencing is best