+ 4

What do the question marks mean in the following connect function in react-redux? Optional parameters?

function connect(mapStateToProps?, mapDispatchToProps?)

14th Jan 2021, 8:17 PM
Sonic
Sonic - avatar
3 Respostas
+ 1
Hawk I looked at all the links that you posted but none of them are relevant to my question. Most of them are explaining the ternary operator which my question is not about.
15th Jan 2021, 10:01 AM
Sonic
Sonic - avatar
+ 1
So, right you're
15th Jan 2021, 10:35 AM
Hawk
Hawk - avatar