6 ms·
thanks for asking this, I'm too embarrassed to ask it myself but had the same thoughts.
by jytechdevops 3y ago
thanks for asking this, I'm too embarrassed to ask it myself but had the same thoughts.
- hoofhearted 3y agoReact is a JavaScript component library. That means single components from a React code base can be exported and reused in other projects. JavaScript frameworks like Create React App, Next.js, Angular.js do not work like that. They completely compile the code base and inject the said components from above into an html page. The biggest difference between a component library and a framework is that a framework requires 100% adoption, whereas a library doesn’t.
- ilt 3y agoSo, multiple component libraries can be used inside one framework like Next.js?
- hoofhearted 3y agoYes, if you wanted.