- missing props, reason for this is that in our HOC withClass component, we're outputting wrappedComponent
- wrappedComponent can be either App.js or Person.js
- these components get props but they don't anymore because we don't pass them in wrappedComponent
- we can't hard code these props obviously
- there is a simple thing we can do, pass on the existing props
- do this by taking advantage of the spread operator: props is just an object of key/value pairs
- `<WrappedComponent {...props} />`
- the above simply means pass on the props as you get them, split them up into key/value pairs