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

react-bulkhead

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-bulkhead

React component to allow 3rd party components to operate over DOM-tree (d3, three.js)

latest
Source
npmnpm
Version
2.1.2
Version published
Maintainers
1
Created
Source

react-bulkhead npm

React component to allow 3rd party components to operate over DOM-tree (d3, three.js)

Gitter Dependencies Dev Dependencies

Installation

NPM

npm install --save react react-bulkhead

Don't forget to manually install peer dependencies (react) if you use npm@3.

1998 Script Tag:

<script src="https://unpkg.com/react/dist/react.min.js"></script>
<script src="https://unpkg.com/react-bulkhead/build/react-bulkhead.min.js"></script>
(Module exposed as `ReactBulkhead`)

Demo

http://nkbt.github.io/react-bulkhead

Codepen demo

https://codepen.io/nkbt/pen/RVYrwN

Usage

import React from 'react';
import ReactDOM from 'react-dom';
import {ReactBulkhead} from 'react-bulkhead';


const onCreate = ({element}) => {
  element.innerHTML = 'Gotcha! Mutable DOM here';
};

const App = () => (
  <div>
    <ReactBulkhead onCreate={onCreate} />
  </div>
);

const appRoot = document.createElement('div');
document.body.appendChild(appRoot);
ReactDOM.render(<App />, appRoot);

Options

// TODO

License

MIT

Keywords

component

FAQs

Package last updated on 24 Oct 2019

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