📜  React.js 和 Bootstrap 的区别

📅  最后修改于: 2021-09-15 01:36:59             🧑  作者: Mango

1. React.js
ReactJS 是一个 Javascript 库,于 2013 年与 Facebook 一起构建。它是一个主要为客户端开发而构建的开源库。它用于改进 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 2013. While it was launched in 2011.
7. The technology used in building of reactjs  is javascript. Technologies 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.