After https://github.com/marmelab/react-admin/pull/3726 (which is landed in react-admin 3.0), DataProviders are supposed to be an object now. They are easier to extend in the user's application and also give more useful Typescript types information (see https://github.com/marmelab/react-admin/issues/3686).
Btw, converting this module to Typescript is another thing that would be nice to have. In my project, I've just cloned this code and converted to Typescript already. But not sure how to publish it here, since it would be a whole lot of changes. Also, I wonder, is this module maintained at all?
After https://github.com/marmelab/react-admin/pull/3726 (which is landed in react-admin 3.0), DataProviders are supposed to be an object now. They are easier to extend in the user's application and also give more useful Typescript types information (see https://github.com/marmelab/react-admin/issues/3686). Btw, converting this module to Typescript is another thing that would be nice to have. In my project, I've just cloned this code and converted to Typescript already. But not sure how to publish it here, since it would be a whole lot of changes. Also, I wonder, is this module maintained at all?