3 ms·
> Have you tried React? It feels fairly library-esque to me. Because it is, in fact, just a library.
by dragonwriter 7y ago
> Have you tried React? It feels fairly library-esque to me.
Because it is, in fact, just a library.
- spankalee 7y agoReact implements the component lifecycle, calling into the component to do it, stores all the component state, and reconciles DOM changes on behalf of the component. It's the very definition of a framework - it's calls the component, the component doesn't call it.
- mewpmewp2 7y agoIt has been said it is a library, but imo it is not for the reason how it forces you to write code according to their rules. For instance functional components. Most of the code you write is to fit React, so for this reason I would say it is a framework.