You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@dhis2/app-runtime

Package Overview
Dependencies
Maintainers
2
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dhis2/app-runtime

A singular runtime dependency for applications on the DHIS2 platform

3.14.5
latest
Source
npmnpm
Version published
Maintainers
2
Created
Source

DHIS2 Application Runtime

A singular runtime dependency for applications on the DHIS2 platform

Installation

yarn add @dhis2/app-runtime

NB Please ensure that all webpack bundles reference the same Context, you can do this by adding @dhis2/app-runtime to peerDependencies (rather than dependencies) and webpack externals for library builds. Top-level web applications should be able to include the dependency directly

This library uses the official React Context API (introduced in 16.3) and React Hooks (introduced in 16.8), so React >= 16.8 is required to use it

Required Polyfills

The following must be polyfilled to support older and non-compliant browsers (i.e. IE11):

  • es6.promise (i.e. core-js/features/promise)
  • window.fetch (i.e. whatwg-fetch)
  • AbortController / AbortSignal (i.e. abortcontroller-polyfill)

Usage

See the docs for usage and examples

FAQs

Package last updated on 08 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts