React-union is available as an npm package.
To install and save in your package.json dependencies, run:
package.json
yarn add react-union
or
npm install react-union
Please note that we use React and ReactDOM as peer dependencies.