React component library for GetStream.io
npm install stream-react-componentsDocs and tutorials are located at
Stream React Components provide a couple of features out of the box:
- Retrieval of feeds, client-side - no server-side integration needed (besides initial token generation)
- Completely customizable activity components and render methods
- Automatic pagination for long feeds
- Realtime websocket connections to Stream for newly added activities
- Clean, minimalistic styling (that's also completely customizable and removable)
``jsx
import React from 'react';
import ReactDOM from 'react-dom';
import StreamReactComponents from 'stream-react-components';
let {Feed} = StreamReactComponents(yourStreamAppKey, yourStreamAppID);
ReactDOM.render(
document.getElementById('app')
);
``
To get started, check out the step-by-step tutorial located at