Skip to main content

Config Type

The Application Config type is a required input to the top-level Provider, and can be accessed from within an application with the useConfig hook.

baseUrlstringThe base URL of the DHIS2 Core server, i.e.
apiVersionnumberThe default API version to use. API request resource paths will be expanded to {baseUrl}/api/{version}/{path}