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.
When developing React components, you might often need to conditionally apply a className. Learn how to handle empty classNames correctly using this handy tip.
Avoid unnecessary re-runs by using primitive dependencies in your React effect.
When working with multiple
useState hooks in React, things can get a bit complicated while debugging. Luckily, there's an easy way to label these values.
Did you know there's an easy way to create a descending list of numbered items with pure HTML? Learn how with this handy tip.
A very common problem when working with Python is having to remember the correct version. Luckily, there's an easy fix for that.