Don’t jump the🛳 of libraries and frameworks too soon
Hi Developer,
It’s Raymon from the Mr Frontend Community.
Thanks for subscribing to this weekly letter ❤️! In this newsletter, I will bring another positive message.
The Mr Frontend Webshop is launched 🎉 and packed with cool developer t-shirts, mugs and a lot of other merch!
Don’t jump the boat of libraries and frameworks too soon
Why would you use a big JavaScript library/framework on places you need something small? Just use vanilla JavaScript more often and if you need it to speed up your process just search for a micro-library that does 1 thing really good.
Developers are very used to use libraries and frameworks everywhere they can. But every code you include needs to be downloaded by the browser of the user.
We have to be very alert on that. Some users have a small amount of data in their bundle or have a low-end device.
It is not bad to use libraries or frameworks, but be very careful when to use them.
If you're doing some DOM manipulation, then don’t include a big library as jQuery, use Vanilla JavaScript, because that will be more lightweight.
Or if you need some heavy lifting for animations, for example, find a “micro library” that is doing only animations very well!
We all want smooth and fast apps as a user, let’s put ourself in their shoes 😉
Applause for all 100 days of code(rs)
100daysofcode: the massive amount of people took the challenge! So big applause for all of them! I’m very proud to see everyone doing great stuff on Twitter!
Top 3 links
- How JavaScript scoping works with var, let and const variables — in 10 minutes
- 🎬 JavaScript Async/Await w/ the Fetch API
- Back to Basics - JavaScript Closures
Podcast
Have you already subscribed to the Mr Frontend Mentor podcast? It is available on:
Thanks!
I want to thank you for reading this letter this far! I hope you enjoyed reading it and learning from it!
If you have suggestions for next, please let me know via raymon@mrfrontend.org or just tweet/DM me via @frontendmr.
Happy coding!
Raymon