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

Add default value of params #4

Closed
pavelivanov opened this issue Nov 8, 2016 · 1 comment
Closed

Add default value of params #4

pavelivanov opened this issue Nov 8, 2016 · 1 comment

Comments

@pavelivanov
Copy link
Collaborator

If params not passed then in all functions where used params need to pass empty object.
Example:

createAction({
  ...
  query: ({ foo = true } /* here must be = {} */, state) => ({
    foo,
  }),
})
Graf009 added a commit that referenced this issue Nov 8, 2016
@Graf009
Copy link
Owner

Graf009 commented Nov 8, 2016

done

@Graf009 Graf009 closed this as completed Nov 8, 2016
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