@dhis2/app-runtime
TypeScript icon, indicating that this package has built-in type declarations

3.10.4 • Public • Published

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):

Usage

See the docs for usage and examples

Readme

Keywords

none

Package Sidebar

Install

npm i @dhis2/app-runtime

Weekly Downloads

907

Version

3.10.4

License

BSD-3-Clause

Unpacked Size

10.5 kB

Total Files

11

Last publish

Collaborators

  • amcgee
  • dhis2-bot