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
Post a Comment