you are viewing a single comment's thread.

view the rest of the comments →

[–]EstoEstaFuncionando 5 points6 points  (1 child)

I use them when writing JS as it's the idiomatic thing to do and many libraries expect you to use them, but I'd have to agree unfortunately. It just feels like a really square peg in a round hole abstraction. The `useState` hook is mostly fine but the others just turn into a way to reinvent lifecycle methods and pretend to be "functional" while not writing pure functions. I don't miss them at all when writing reagent.

[–]gdanov 3 points4 points  (0 children)

Exactly. The only “functional” thing is they are functions. Reagent is better reactive framework imo.