-
Notifications
You must be signed in to change notification settings - Fork 21
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 can someone use your package along with the actions ? #4
Comments
Hi @jpca999, could you take a look to the usage section of the readme? That's pretty much everything you need |
I appreciate your reply...
usually it displays the toast at the bottom, how can i change it to display it on top ? man your code works fine, its just when i try using it with my actions, i get the error message. const mapDispatchToProps = (dispatch) => { export default connect( null, mapDispatchToProps )(FollowupScreen); |
Let's discuss changing the position here #5. About your error, what does the |
its not really about what the prioritiesFetch function do, but more about when i load the actions on my component it throws the eror. I dont think I know how to make the usual Actions play with Toaster's actions to dispatch properly.
hey @sbalay, most of my code is available on here,
https://stackoverflow.com/questions/46493262/unable-to-call-actions-from-class-component-error-this-props-dispatch-is-not-a#46493262
|
the whole purpose of redux is that user can call on the views and change the state of the components from via the Actions.
I am not clear how I'd be able to do that with your package ?
The text was updated successfully, but these errors were encountered: