Adopting a JavaScript framework or library often comes with benefits. This is why we use frameworks in the first place. Whats rarely discussed is are the risks and trade-offs we unknowingly or knowingly accept when adopting JavaScript libraries and frameworks. Here we explore the pro and cons of JavaScript library and framework adoption.
Framework & Library Adoption
Pros Cons Time to Market Added Payload Tested & Relyable Regression Risk Well Documented Increased Dependancies Customizable Performance impact Cross-Browser Support Ongoing support - version MGMT Future Proof
Native Capabilities Adoption
Pros Cons Time to Market Cross-Browser Support Tested & Relyable Well Documented Dependancy Free Performant Future proof Customizable Progressive enhancement