Skip to content

withService usage every time needs to specify services although I want just to use actions not any service. #4

Description

@jalalh14

hi,
I had a problem,
when I want to use withService only with actions, it also needs services even it is empty and I have no services and if I dont specify that it will not working and component will not be rendered.
like below:

withService({
services: {},
actions: {
changeState: app.services.complaint.changeState
}
})(MyComponent)

Please check it.
thanks.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions