3 ms·
> The react paradigm is FP. https://reactjs.org/ https://reactjs.org/ homepage writes "Build encapsulated components that manage their own state" That's a text
by Const-me 5y ago
> The react paradigm is FP.
https://reactjs.org/ https://reactjs.org/ homepage writes "Build encapsulated components that manage their own state" That's a textbook definition of OOP.
- deltaonefour 5y agoI use the term colloquially. The typical react pattern people use does not put state in the component. It uses a reactive pattern called redux and the state comes from somewhere else.