React - Components with Parameters

added by JavaScript Kicks
9/21/2018 8:20:35 PM

793 Views

In our last React article, we learned about creating components . But our component was a bit basic, one that doesn't take any parameters. We want a real component that takes parameters and everything! Why? Because just like how HTML elements have properties (think href or title in an a tag), React components also need parameters.


0 comments