Hey everyone! I'm just starting out in frontend development and I'm trying to figure out when it's best to build things from scratch versus using existing libraries. For instance, if I want to create a fade-in effect, should I just write it in CSS and JS myself, or would it be better to use a library like AOS? Similarly, if I'm looking to build a slider, is coding it myself the way to go, or should I consider something like Swiper.js? Any advice on this would be appreciated!
1 Answer
It really depends on your goals. If you need to quickly push something into production, libraries can save you a ton of time. But if you want to deepen your understanding of how things work, trying to build it yourself is invaluable. Just keep in mind that reusing libraries can feel safer and often helps avoid bugs that come from reinventing the wheel.
Absolutely! It’s all about finding what works for you.
Thanks for the insight! I guess it's a balancing act between learning and efficiency.