Closed davemcorwin closed 7 years ago
passing a string 'function name' to onmount causes it to find the prop with that name and execute the function. This seems more ergonomic than the previous approach bc we can use mapDispatchToProps as normal.
mapDispatchToProps
passing a string 'function name' to onmount causes it to find the prop with that name and execute the function. This seems more ergonomic than the previous approach bc we can use
mapDispatchToProps
as normal.