# Does HubSpot use React.js?

**URL:** <https://community.hubspot.com/t/does-hubspot-use-react-js/68763>\
**Category:** CMS Development\
**Tags:** javascript, forms\
**Created:** [November 7, 2022, 10:57pm UTC](https://community.hubspot.com/t/does-hubspot-use-react-js/68763 "2022-11-07T22:57:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![marquizzo](https://avatars.discourse-cdn.com/v4/letter/m/ac91a4/32.png) [@marquizzo](https://community.hubspot.com/u/marquizzo)\
**Post date:** [November 7, 2022, 10:57pm UTC](https://community.hubspot.com/t/does-hubspot-use-react-js/68763/1 "2022-11-07T22:57:27Z")

</div>

I’m looking at some of the Forms we built using HubSpot, and I’ve noticed they all include data attributes like ‘data-reactid=“.hbspt-forms-0”’. There’s also a JavaScript file imported from “/\_hcms/forms/v2.js” that uses a lot of React functions:

 ![Screen Shot 2022-11-07 at 2.50.32 PM.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/c/9/c9828901d90df5bb12e3c54cf50cf315788e4272.png)

Does HubSpot use the React framework alongside JQuery? If so, why do we need two frameworks? Wouldn’t it be more efficient to build a CMS with only one? My [React Dev Tools plugin](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en) says it’s using an “older unsuported version” of React.

---

<div class="post-metadata">

**Author:** ![albertsg](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/albertsg/32/99473_2.png) [@albertsg](https://community.hubspot.com/u/albertsg)\
**Post date:** [November 8, 2022, 1:09pm UTC](https://community.hubspot.com/t/does-hubspot-use-react-js/68763/2 "2022-11-08T13:09:31Z")

</div>

Hi @marquizzo, I’m not using React on HubSpot but if you check their documentation you can see it’s in BETA so not everything might be working as expected: [How to use JavaScript frameworks on HubSpot - HubSpot docs](https://developers.hubspot.com/docs/cms/guides/js-frameworks#reactjs)  
You can provide your feedback directly to the GitHub repository if you want 🙂

---

<div class="post-metadata">

**Author:** ![Anton](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/anton/32/103167_2.png) [@Anton](https://community.hubspot.com/u/Anton)\
**Post date:** [November 8, 2022, 5:32pm UTC](https://community.hubspot.com/t/does-hubspot-use-react-js/68763/3 "2022-11-08T17:32:55Z")

</div>

Hi @marquizzo,

yes - HubSpot is build upon React but only for several years. There were times were HubSpot wasn’t build on react - and tbh I don’t know what was before that. I remember that the interface was using the most basic jQueryUi styling when I’ve started with HubSpot years back.

 ![cos_design_manager_before.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/c/c437ac429527d68e0a8e7160dfbac707268e7e35.png)

And since there are still functions requiring jQuery - it’s getting loaded.

But HubSpot constantly improving everything and I’d say that there will be a day when jQuery will disappear from HubSpot(not the themes)

best,

Anton
