marklogic-community / grove

Grove, a toolkit full of tooling, templates, and other resources that help with building UI applications on top of MarkLogic.
https://marklogic-community.github.io/grove/
Other
5 stars 1 forks source link

Document "api" override for Redux modules #23

Open patrickmcelwee opened 5 years ago

patrickmcelwee commented 5 years ago

The Grove Redux modules have an undocumented pattern, where actionCreators that make network calls accept an optional final argument that is an object. If you provide {api: myAPIObject}, where myAPIObject has appropriate functions under appropriate keys. You will need to inspect the Redux modules for what those keys are. Searching for "api" should turn up the relevant code.