The older PubNub React SDK v.1.3.1 has been deprecated. The SDK documentation for the older version can be found here.
Get Code: Source
Get Code: NPM
npm install pubnub-react
To use the PubNub React Framework, you need:
- React 16.8 or above