Extremely hard to understand for react newbies like me.
'function WaitingComponent(Component)' -> you are passing 'Component' as what? props? because its the first argument of the function, so why isn't it called props? no de structuring here?
'return props => (' -> uhmm... now where does this props variable coming from? Because you named you props param 'Component'.
Comment
Extremely hard to understand for react newbies like me.
'function WaitingComponent(Component)' -> you are passing 'Component' as what? props? because its the first argument of the function, so why isn't it called props? no de structuring here?
'return props => (' -> uhmm... now where does this props variable coming from? Because you named you props param 'Component'.