@cerc-io/react-peer (0.2.33)
Published 2023-04-20 08:13:04 +00:00 by cerccicd
Installation
@cerc-io:registry=
npm install @cerc-io/react-peer@0.2.33
"@cerc-io/react-peer": "0.2.33"
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.39 |
@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