DEV Community

Discussion on: Functional Component in reactβš›οΈ

Collapse
 
sudarshansb143 profile image
sudarshan

Nice Article !
But i want to suggest you two things

  1. You can ( and have to) destructure props and directly use them
  2. You must use Component.map(callback) to replicate components, instead of typing it several times.
Collapse
 
anasooya2601 profile image
Anasooya

Glad you liked it.Thank you for the suggestion.πŸ˜„