0

Library and framework

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

29th Oct 2020, 11:23 AM
alireza
9 Respostas
+ 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.
29th Oct 2020, 2:09 PM
maf
maf - avatar
+ 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?
29th Oct 2020, 11:44 AM
alireza
+ 1
@maf okay 👌
30th Oct 2020, 11:01 AM
JS Fan
+ 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".
30th Oct 2020, 11:42 AM
maf
maf - avatar
0
Yes you can use Lodash with React in same project.
29th Oct 2020, 11:31 AM
JS Fan
0
JS Fan Does lodash and react are both libraries?
29th Oct 2020, 11:33 AM
alireza
0
Lodash is library. React is framework.
29th Oct 2020, 11:40 AM
JS Fan
0
alireza Idk mate. I thought react is a framework.
29th Oct 2020, 11:50 AM
JS Fan
0
maf Do you know the difference between a library and a framework?
30th Oct 2020, 11:07 AM
JS Fan