|
|
|
|
|
by the_gipsy
439 days ago
|
|
I've never seen a Teact project where UI = f(state). There is always heavy reliance on the "lifecycle" of components. So you compose "functions", but every function is using some global state, shared or not, it's meaningless to describe it as "functions". The one project I've used that had redux was also a complete nightmare to work with, and hooks are the blessed way now apparently. |
|
The amount of times I've heard that classes = OOP and functions = functional is ridiculous