How to update React state the right way

» DEV Community | dev.to