5 Cool Things You Can Do In React

1 — Spreading Props

Sometimes your tags can get a little messy listing several props like this…

const Component = (props) => {

This can be simplified by creating an object with all your props and using the spread operator to programmatically add them individually…