Hacker News new | ask | show | jobs
by LAC-Tech 1551 days ago
I think people need to wake up to the fact that react encourages bad architecture.

You can tell me react is a big brained functional library all you want. Fact is you're putting business logic and mutable state inside your functions from props -> jsx. The fact that setState is a 'hook' doesn't change the fact you're setting state.

Every react code base I've come across looks exactly like what they told us not to do in the WinForms and Java Swing days - code behind.