Socket
Book a DemoInstallSign in
Socket

stream-react-components

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stream-react-components

React component library for GetStream.io

latest
Source
npmnpm
Version
0.0.25
Version published
Maintainers
1
Created
Source

Stream React Components

Docs and tutorials are located at https://stream.gitbook.io/stream-react-components/

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)
import React from 'react';
import ReactDOM from 'react-dom';
import StreamReactComponents from 'stream-react-components';

let {Feed} = StreamReactComponents(yourStreamAppKey, yourStreamAppID);

ReactDOM.render(
    <Feed feedToken={someFeedTokenYouGotAsynchronously} feedSlug={"profile"} feedID={1234}/>,
    document.getElementById('app')
);

To get started, check out the step-by-step tutorial located at https://stream.gitbook.io/stream-react-components/step-by-step-setup.

FAQs

Package last updated on 08 Aug 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.