New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

react-iterable-track

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-iterable-track

Iterable track for React

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

react-iterable-track

React JS wrapper for Iterable's track code

Install

npm install react-iterable-track

or

yarn add react-iterable-track

How to use

import Iterable from 'react-iterable-track';

Iterable.init('your_API_KEY');

if you're bundling in CI

  ...
  componentDidMount() {
    const Iterable =  require('react-iterable-track');
    Iterable.init('your_API_KEY');
  }
  ...

otherwise CI will complain there's no window.

Dev Server

npm run start

Default dev server runs at localhost:8080 in browser. You can set IP and PORT in webpack.config.dev.js

Production Build

npm run build

Keywords

react

FAQs

Package last updated on 08 Jul 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