DEV Community

Discussion on: Coding is like Art.

Collapse
 
nmhummel profile image
Natalie Hummel

I will look into that hook, thanks for the tip. I went with ownProps at the recommendation of my instructor. Still working on using hooks with confidence. So instead of parseint you say +number?

Collapse
 
scr2em profile image
Mohamed Abdelgwad

yep, +number converts a string to number