Fork me on GitHub
#reagent
<
2019-01-09
>
WhoNeedszZz01:01:44

Depends on your structure. Usually slow reloading is due to more components updating than needed

WhoNeedszZz01:01:47

For example, if you have a header and a footer and in each of your views you are reloading the header and footer instead of just the middle content

jdkealy02:01:20

it's pretty bare bones thus far... my reagent app was super bloated by comparison

WhoNeedszZz02:01:48

It's not about the size; it's about how it's structured

10
WhoNeedszZz16:01:19

What's the reagent equivalent of this?

orestis17:01:21

Is this a function returning a function?

WhoNeedszZz17:01:20

It is, but I believe I've found the way

WhoNeedszZz17:01:28

:on-change #(reset! value (-> % .-target .-value))

ordnungswidrig17:01:46

@whoneedszzz value is a little bit of an unfortunate name for an atom.

WhoNeedszZz17:01:19

It's not my code. I always use proper naming conventions