reagent

A minimalistic ClojureScript interface to React.js http://reagent-project.github.io/
2020-07-30T02:14:25.071200Z

@gleisonsilva This comes up enough that there is an FAQ entry https://day8.github.io/re-frame/FAQs/DoINeedReFrame/

gleisonsilva 2020-07-30T17:51:30.073100Z

Hey! Should a (def thing (reaction (some-fn-over @app-state)) be automatically changed after some change happens to @app-state?

gleisonsilva 2020-07-30T17:52:36.074100Z

i mean... this is the way that reaction is supposed to work? Like a cursor but applying some function to the state?

gleisonsilva 2020-07-30T17:53:24.075Z

I think it was, but a have bound thing to a component and it isn't updated when @app-state changes...

2020-07-30T18:16:26.075500Z

I think you h e to deref thing

gleisonsilva 2020-07-30T18:26:01.075700Z

I'm derefing...

gleisonsilva 2020-07-30T18:27:46.077400Z

but the function some-fn-over is been called just the first time that I deref