DEV Community

Discussion on: 5 tips to improve your React and JS code

Collapse
 
jkhaui profile image
Jordy Lee

These are great. Another simple tip is to always format your code (and ideally, to one of the widely accept standards, e.g. 2 spaces for indents). Nothing annoys me more than seeing unformatted code - it only takes 2-3 keypresses to fix!

Collapse
 
adancarrasco profile image
Adán Carrasco

This is a really good tip! Totally agree with you.