Finding ways to improve and optimize your code takes a lot of time, research and energy. Level up your coding skills one step at a time with this collection of quick tips and tricks.
ESLint is a really useful tool, but sometimes it gets in the way. Learn how to refactor code to get rid of a common warning.
Ever wanted to get the value of an HTML input element as a number? Learn an easy way to do it with this handy trick.
Array destructuring can be leveraged in many different ways. Here's one of them.
Learn how to filter branches based on whether they contain a specific commit or not.
Git, Branch · May 25, 2023
Document.elementFromPoint() to easily get the element at a specific point on the page.
In React components, you might need to conditionally apply a
className. Learn how to handle empty values correctly using this handy tip.
React, Components · Nov 7, 2021
Turns out the Proxy object is not extensible, but there's a way around its limitations.