@dmsi/components
v2.0.1
Published
Utility components for use in DMSi applications
Downloads
3
Keywords
Readme
DSMi Components
Generic React components for use in DMSi applications
Getting Started
yarn add @dmsi/components
HOCs
@dmsi/components contains some higher-order components such as withURLParams
See Higher-Order Components for more information about higher-order components.
import { withURLParams } from '@dmsi/components';
const YourComponentWithURLParams = withURLParams(YourComponent);
Versioning
DMSi Components conforms to the semver spec for versioning. The library is versioned separately from other @dmsi packages. Check out the CHANGELOG to see what's changed.
Local Development
For most development purposes, symlinking @dmsi/components with a consuming package should be sufficient. However in certain cases the developer may have trouble symlinking to packages with competing dependency versions. In this case you may run yarn publish:test
, which will publish a tc
version for local development. The package must be updated to a major/minor/patch/rc version before being merged into develop.