Library and framework | Sololearn: Learn to code for FREE!

0

Library and framework

Does it possible and reasonable using library and framework in a same time and same project for javascript frontend?

10/29/2020 11:23:56 AM

alireza

9 Answers

New Answer

+3

JS Fan React is a library, but we all get confused in the beginning coz everyone is comparing it with "Angular" which is a framework.

+1

JS Fan but, based on my searches react is also a library for frontend and react native is framework for mobile application. Is n't it?

+1

@maf okay 👌

+1

JS Fan these terms are used interchangeably, and i myself do not know the difference lol. Ive heard that angular is a framework coz it comes with everything you need, and more such as a router. But a library such as react does not come with everything pre-installed, you have to install certain things separately such as "react-router-dom".

0

Yes you can use Lodash with React in same project.

0

JS Fan Does lodash and react are both libraries?

0

Lodash is library. React is framework.

0

alireza Idk mate. I thought react is a framework.

0

maf Do you know the difference between a library and a framework?