React Beginning - Props

 Props are used to transfer data between files. As components are functions we can directly pass data as arguments but. there is no method provided to do that. So, we create our own attribute specific to the component and the data will bundled and sent to the component as props and need to be using keys only.

{} - is used to evaluate output of JavaScript expressions.

Comments

Popular posts from this blog

26th September - Day 15 of writing Diary

Day 2 of writing Diary

6th October Day 25 of writing Diary