Hi! I just want to know your suggestion or any best javascript framework that's reliable and works best for Hubspot. Right now we are using Vanilla JS and jquery but I'm not sure if that is the best practice and efficient? Hope you can help me with this. Thank you! Regards, Jess
But i think there is no right or wrong, no good or bad, just your own preference. At the end, vanilla js should give you the best performance, since it doesn't load any additional library or framework.
HubSpot depends on jQuery.
React.js could come handy, since HubSpot uses some components.
For myself I'm fine with vanilla js and jQuery. This works great for me.
For the factor performance:
A little example, Bootstrap 5 is going to drop jQuery as dependency since they can do everything with vanilla, and save some kb... it's a little bit of pagespeed
But i think there is no right or wrong, no good or bad, just your own preference. At the end, vanilla js should give you the best performance, since it doesn't load any additional library or framework.
HubSpot depends on jQuery.
React.js could come handy, since HubSpot uses some components.
For myself I'm fine with vanilla js and jQuery. This works great for me.
For the factor performance:
A little example, Bootstrap 5 is going to drop jQuery as dependency since they can do everything with vanilla, and save some kb... it's a little bit of pagespeed