Closed bitflower closed 6 years ago
That is documented in the API
- serviceNames (required, string, array of strings, or object) - The paths of the Feathers services to reduxify.
- 'messages' is short for { messages: 'messages' }. You can dispatch calls with dispatch(services.messages.create(data, params));.
- ['users', 'messages'] is short for { users: 'users', messages: 'messages' }.
- { '/buildings/:buildingid': 'buildings' } will reduxify the Feathers service configured with the path /buildings/:buildingid. You can dispatch calls with dispatch(services.buildings.create(data, params));.
Hey guys, this little hint on "ugly" URLs would have saved me hours of head ache. Maybe it will for others too! Cheers