Content pfp
Content
@
0 reply
0 recast
0 reaction

elboletaire 🗳️ pfp
elboletaire 🗳️
@elboletaire.eth
I see this and I raise it to the entire hooks system. React with classes was much better.
6 replies
0 recast
2 reactions

typeof.eth 🔵 pfp
typeof.eth 🔵
@typeof.eth
Ooh, spicy take. I disagree, though. Hooks let you abstract and reuse logic way more easily than HOCs. HOCs also came with their own foot guns.
1 reply
0 recast
1 reaction

Stacks pfp
Stacks
@stacksonomy
I’m with you there, not that class based components were great but hooks failed to capture the abstraction they were downstream of and they added their own problems on top of that
1 reply
0 recast
1 reaction

Grins pfp
Grins
@grins
constructor(props){ super(props); this.state = .... } Was so clunky though
1 reply
0 recast
0 reaction

daws.eth pfp
daws.eth
@daws
The amount of code duplication with classes was crazy. ‘onComponent*’ was hard to learn. What did you find better about classes?
1 reply
0 recast
0 reaction

Francesco – oss/acc pfp
Francesco – oss/acc
@fra
I hated react with classes so much I was using F# + Fable + Elmish to avoid it.
1 reply
0 recast
0 reaction

joaofaustino pfp
joaofaustino
@joaofaustino
I disliked classes. Delved into FE after the introduction of hooks. I was mostly experiencing pain before. 😰
0 reply
0 recast
0 reaction