React component to display Juicer.io aggregated social media feeds.
- Codesandbox
- demo create-react-app repository: juicer-io/react-juicer-feed-demo
- create a free social media feed on Juicer.io.
- add the
react-juicer-feedpackage to yourpackage.jsonwith:$ npm install --save react-juicer-feed, or:$ yarn add react-juicer-feed
- add the
<JuicerFeed>component to your code:
import JuicerFeed from 'react-juicer-feed';
<JuicerFeed feedId='YOUR-FEED-ID-FROM-JUICER-IO' />- tested with yarn 1.12.3 on OSX.
- compile code with
yarn build - build local npm package with
yarn pack, which will create a tar file for you to inspect $ yarn login(full instructions: https://yarnpkg.com/lang/en/docs/publishing-a-package/)- publish package with
yarn publish
- Updated to latest Rollup and
@babel/corenpm package. - Based on these instructions: codeburst.io/deploy-react-component-as-an-npm-library-d396efc25122.