Fork me on GitHub
#re-frame
<
2019-06-18
>
Ulisses Caon01:06:06

Hi people! I'm new to re-frame. I'm using promesa to deal with js promises that come from external libs, but i got quite lost on how to deal with async stuff in re-frame. What would be a good starting point?

mikethompson02:06:43

@ulissescaon async operations will be effectful

mikethompson02:06:59

So they should be handled by effect handlers

mikethompson02:06:51

Notice the way it handles the "on-success" and "on-failure" paths

👍 4
abdullahibra10:06:14

anybody using bidi for client routing with prefix "#" with routes ?

lwhorton18:06:31

anyone know of an implementation of re-frame written in vanilla js?

lwhorton18:06:14

i still think the reframe model is superior for UIs over the common js patterns like redux. if i were forced out of using cljs to build a SPA, the least i could do was keep utilizing re-frame.

scknkkrer19:06:39

Guys, I’ve made this for you all! Thank you for all the effort to share your knowledge… https://github.com/LeaveNhA/fener