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.
React, Components
When developing React components, you might often need to conditionally apply a className. Learn how to handle empty classNames correctly using this handy tip.
React, Hooks
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.
HTML, Webdev
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.
Python, Setup
A very common problem when working with Python is having to remember the correct version. Luckily, there's an easy fix for that.