Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use react hooks aftrer reducer change for the lib? #360

Open
2012shenghua opened this issue Mar 4, 2020 · 0 comments
Open

How to use react hooks aftrer reducer change for the lib? #360

2012shenghua opened this issue Mar 4, 2020 · 0 comments

Comments

@2012shenghua
Copy link

import {useSelector, useDispatch} from 'react-redux';
and i want use 'useDispatch' and abandon 'connect' for redux, but after i use 'redux-actions', and i change reducer, i can't use 'useDispatch', What shall I do?

@2012shenghua 2012shenghua changed the title How to use react hooks when reducer change for your lib? How to use react hooks aftrer reducer change for the lib? Mar 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant