3 ms·
The mental model for a react component is very much simplified and consistent. You declare how your view looks like, wire up the state and user interaction stu
by kumarvvr 7y ago
The mental model for a react component is very much simplified and consistent.
You declare how your view looks like, wire up the state and user interaction stuff and you have a self contained puece of code.
People doing UI stuff, before the advent of React usually highly appreciate it because they know how much work it takes to actually build a usable UI in vanilla JS.
- jarym 7y agoReact introduced this concept into the mainstream but it wasn’t at all new.