@cerc-io/react-peer (0.2.32)
Published 2023-04-18 10:30:40 +00:00 by cerccicd
Installation
@cerc-io:registry=
npm install @cerc-io/react-peer@0.2.32
"@cerc-io/react-peer": "0.2.32"
About this package
react-peer
React component for using @cerc-io/peer package.
Development
To use react-peer package in react applications during development:
-
Build package
yarn && yarn build
-
Register package for yarn link
yarn link
-
Register react library for yarn link to avoid duplicate react library issues
cd node_modules/react yarn link
-
Yarn link packages in the react application where we want to use react-peer
# In react application repo directory yarn link "react" yarn link "@cerc-io/react-peer"
-
Import react-peer to use
import { PeerProvider, PeerContext } from '@cerc-io/react-peer'
Dependencies
Dependencies
ID | Version |
---|---|
@cerc-io/peer | ^0.2.34 |
@mui/lab | ^5.0.0-alpha.121 |
@mui/material | ^5.11.3 |
convert | ^4.10.0 |
d3 | ^5.5.0 |
lodash | ^4.17.21 |
use-resize-observer | ^9.1.0 |
Development Dependencies
ID | Version |
---|---|
nwb | 0.25.x |
react | ^18.2.0 |
react-dom | ^18.2.0 |
Peer Dependencies
ID | Version |
---|---|
react | ^18.2.0 |
Keywords
react-component