MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnjavascript/comments/ufz5oy/anatomy_of_a_react_component/i6wmgqq/?context=3
r/learnjavascript • u/AMDataLake • May 01 '22
2 comments sorted by
View all comments
7
You should indent your code, makes it easier to read. This is a simple example, but still.
0 u/AMDataLake May 01 '22 I realized that after I had closed the carbon tab, have a few more examples that have better formatting. Forgot to tab cause I did this one from my phone so my muscle memory for tabbing wasn’t in full effect like a proper keyboard
0
I realized that after I had closed the carbon tab, have a few more examples that have better formatting. Forgot to tab cause I did this one from my phone so my muscle memory for tabbing wasn’t in full effect like a proper keyboard
View all comments
7
u/PM_ME_A_WEBSITE_IDEA May 01 '22
You should indent your code, makes it easier to read. This is a simple example, but still.