
i'm trav
- i work at universal music
- head of forking at crablang
- streaming bad code live on twitch
- terrible takes @techsavvytravvy
- find me in the crablang lounge on discord
i've also been known to make music
Search for a command to run...

i'm trav
i've also been known to make music
No comments yet. Be the first to comment.
I've always been intrigued by browser extensions and their ability to do crazy things and make the web cooler + get rid of ads. That said, going from concept to a working Chrome extension can be super annoying with repetitive setup tasks, configurati...

This is going to be a "quick" little guide to customizing the tmux status bar to include a scrolling Spotify “Now Playing” widget. I’m going to be doing this on macOS, but you should be able to adapt it to Linux and I'll try to assist where I can. If...

Go From Freelancer to Corporate Sellout In 43 Easy Steps

An overview of one of the most popular and loved programming languages.

The Importance of Mental Health as a Developer

To many, jQuery is a relic of the past. But to newcomers and the unsuspecting, it may still seem like an attractive choice for quickly building interactive websites or web applications. Despite being so outdated, jQuery is still used in 94.8% of all websites that use a known JavaScript framework!
If you’re still using jQuery: it’s time to move on. In this article, we'll take a look at why developers are turning away from this old-school option in favor of vanilla JavaScript and newer libraries like React or Vue.
Back in the day, manipulating HTML elements was hard. You couldn't just call a function and have it select elements and add events. You had to actually dig into your code and type out all these crazy DOM methods. jQuery used to be a boon, but with a package size of over 1MB it's way too heavy for most websites these days. There are much more efficient ways to write JavaScript that don't involve downloading an entire library every time you want to manipulate the DOM…
I know jQuery is easy; the entire reason the library was created was to make it easier to use JavaScript in ways that used to otherwise be difficult or impossible with vanilla JS.
There are some great things about using jQuery: it gives you access to lots of ready-made functionality, and it does many things better than what you used to be able to write yourself. But there are some major drawbacks that negate these benefits.
You don't need to use the jQuery library now that vanilla JavaScript can do almost anything it can. In fact with ES6 being widely supported, if you're still using jQuery then you should probably reconsider your development approach.
If you're new to JavaScript and are looking for a short path to master the basics of DOM manipulation, there are better resources than jQuery:
If your site is already using jQuery and you’re looking for an easy way to migrate to vanilla JS, check out replace-jquery—it analyzes your project files and generates used jQuery functions with their pure JavaScript alternatives.
I'm sure you've heard of React. It's currently the most popular front-end framework, and for good reason: it has a number of advantages over jQuery.
Seriously, you don't need jQuery anymore.
For a long time, jQuery was the go-to library for making JavaScript do cool things on your web page. But now we have native DOM APIs and other libraries that are often much easier to use than jQuery. You can probably get away with not using any libraries at all, but if you really want to use one, please just use one of these instead:
Please, stop using jQuery. It's not necessary, and it's locking you into an old way of thinking. If you're looking for a modern way to build your UIs, consider frameworks like React or Vue. If you really don’t want to work with plain JavaScript, try using NPM packages that support tree-shaking to reduce the size of your codebase and make it easier to maintain and update. I hope this helps anyone who wants more information about why they might want to start using something else!