@cerc-io/react-peer (0.2.34)

Published 2023-05-04 11:19:00 +00:00 by cerccicd

Installation

@cerc-io:registry=
npm install @cerc-io/react-peer@0.2.34
"@cerc-io/react-peer": "0.2.34"

About this package

react-peer

Travis npm package Coveralls

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.41
@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
Details
npm
2023-05-04 11:19:00 +00:00
71
AGPL-version-3.0
29 KiB
Assets (1)
Versions (14) View all
0.2.38 2023-09-04
0.2.37 2023-07-28
0.2.34 2023-05-04
0.2.33 2023-04-20
0.2.32 2023-04-18