4 ms·
I find connect quite verbose for a simple 'I want this component to be able to access the userName field' use case. However the hooks api is excellent for this
by wilsonrocks 7y ago
I find connect quite verbose for a simple 'I want this component to be able to access the userName field' use case.
However the hooks api is excellent for this.
You can also write custom hooks that pull data from redux and other sources (in my case, root level props passed from another(angular) app, that I made available using Context.