3 ms·
Quick Q from a rookie on the topic: what's the primary advantage behind React being declarative in how its built?
by LilBibby2342 10y ago
Quick Q from a rookie on the topic: what's the primary advantage behind React being declarative in how its built?
- jackmccloy 10y agoThe big advantage of declarative frameworks (not just React - many are moving in this direction) is that reasoning about your application's state becomes much easier. This is because when you take a declarative approach, your application's state is kept separate from the DOM, and the DOM is a function of the application's state.