mergeProps
Learn how to handle the combining of props that are passed directly to a component.
We'll cover the following...
The mergeProps
methods
The third parameter, mergeProps()
, deals with a more special use case that we won’t often encounter. For the sake of completion, though, we’ll briefly explain it. ...