📜  React.js和Bootstrap之间的区别

📅  最后修改于: 2021-05-25 10:58:58             🧑  作者: Mango

1. React.js
ReactJS是一个在2013年与Facebook一起构建的Javascript库。它是一个开放源码库,主要为客户端开发而构建。它用于改善UI并增强客户端用户体验。 ReactJS被广泛使用,因为它用于创建单页应用程序。

2.引导程序
Bootstrap是一个基于CSS和CSS3构建的框架。 Bootstrap用于使页面本质上具有响应性。 Bootstrap被广泛用于提高网站的响应速度,尽管还有其他框架可以实现,但其中Bootstrap在客户端Web开发中得到了最广泛的应用。

ReactJS和Bootstrap之间的区别:

S.No. ReactJS Bootstrap
1. It is based on pure vanilla Javascript. It is based on CSS grid and flexbox properties for responsiveness.
2. It is used to improve the UI. It is used to improve the responsiveness of the webpages.
3. Reactjs has inbuilt module of bootstrap i.e react-bootstrap that can be imported to use bootstrap in the HTML. One can also link to the CDN or import its files to use bootstrap classes.
4. ReactJS deals with state and components. While bootstrap deals with col and row size based on device width i.e sm, lg etc.
5. It is developed by Facebook and the community. It is developed by Mark Otto and Jacob thornton.
6. It was launched in 2003. While it was launched in 2011.
7. The technology used in building of reactjs  is javascript. Technlogies used are HTML, CSS, SASS and Javascript.
8. It is used to create single-page applications. It is used to create mobile-first web applications.