arthurvmdantas / tip-calculator

Frontend exercise
0 stars 0 forks source link

Proptypes #4

Closed violetadev closed 3 years ago

violetadev commented 3 years ago

A common (good) practice is to use Proptypes with React if you are not using Typescript instead of Javascript. https://reactjs.org/docs/typechecking-with-proptypes.html This allows you to make less mistakes when passing props and keeping the code coherent and bug free.

violetadev commented 3 years ago

nvm I mixed your project with another mentee xD forget this