React Components
As an alternative to React Hooks, the DHIS2 Application Runtime support render-prop React components. The following Components are supported:
- DataQuery - a data fetching Component wrapper around the useDataQuery hook.
- DataMutation - a Component wrapper around the useDataMutation hook.