
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
@dhis2/app-runtime
Advanced tools
A singular runtime dependency for applications on the DHIS2 platform
A singular runtime dependency for applications on the DHIS2 platform
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
The following must be polyfilled to support older and non-compliant browsers (i.e. IE11):
See the docs for usage and examples
FAQs
A singular runtime dependency for applications on the DHIS2 platform
We found that @dhis2/app-runtime demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.