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 can someone use your package along with the actions ? #4

Open
PManager1 opened this issue Sep 28, 2017 · 4 comments
Open

how can someone use your package along with the actions ? #4

PManager1 opened this issue Sep 28, 2017 · 4 comments

Comments

@PManager1
Copy link

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 ?

@sbalay
Copy link
Owner

sbalay commented Sep 30, 2017

Hi @jpca999, could you take a look to the usage section of the readme? That's pretty much everything you need

@PManager1
Copy link
Author

PManager1 commented Sep 30, 2017

I appreciate your reply...

  1. I dont think youve provided anyway we can change the position of the toaster (customize )

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.
Like its working fine but the moment i hoook more (my) actions it spits error messages,

const mapDispatchToProps = (dispatch) => {
return {
dispatch,
prioritiesFetch: () => dispatch(prioritiesFetch())
}
};

export default connect( null, mapDispatchToProps )(FollowupScreen);

@sbalay
Copy link
Owner

sbalay commented Sep 30, 2017

Let's discuss changing the position here #5.

About your error, what does the prioritiesFetch function do? Can you show me that code?

@PManager1
Copy link
Author

PManager1 commented Sep 30, 2017 via email

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

2 participants