Fork me on GitHub
#re-frame
<
2019-02-23
>
abdullahibra08:02:04

how to you handle browser back button in SPA website ?

lmergen10:02:12

i'm using both secretary and accountant, works quite well

witek10:02:55

Is it ok to call (rf/dispatch ...) multiple times from a single button's on-click function?

Lu12:02:59

I am sure it is

joelsanchez13:02:01

you can but maybe it would be cleaner to make a new event that uses dispatch-n

👍 10
kaneko14:02:50

Hi everyone, I'm completely new to web-dev and clojure. I've been playing around with Reagent and Figwheel, and its been fun. This may be a board question but I'm not sure where re-frame falls into the picture and why/when should one use it?

myguidingstar14:02:41

Re-frame focuses on client side events. It may not have a good story talking to server-side apis, so you'll end up doing lots of processing low level http requests. You may consider Fulcro which have a solid approach to that https://github.com/fulcrologic/fulcro

manandearth15:02:58

@r.natarajan35 re-frame is a pattern to write SPA using reagent... It is a brilliant and well thought out way to write reactive apps. Read about React (facebook) and the docs of re-frame : https://github.com/Day8/re-frame and of reagent: https://github.com/reagent-project/reagent to find out where it fits. Have a nice journey! 😉

kaneko15:02:14

Thanks, I will give them a read! 🙂