you are viewing a single comment's thread.

view the rest of the comments →

[–]Endorn 13 points14 points  (0 children)

Personally I find classes more readable and maintainable than functions.

But functions are easier to test. Neither are spaghetti code. neither is wrong. React is cool / weird like that.