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

react-through

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-through

Declarative data mapping through react tree

latest
Source
npmnpm
Version
1.1.4
Version published
Weekly downloads
4K
-30.84%
Maintainers
1
Weekly downloads
 
Created
Source

react-through

Declarative data mapping through react tree

Extremal flexible and effective way to communicate between components.

This library provides tools to map props directly from one component to another. Source component may be specified in one place of react tree and destination component which receives that props in another place of react tree.

This allows to create agent component (or set of agents) which maps some of its props to named area and also allows to create container (or set of containers) of that area from which that props are received.

And then all what you need is just to instantiate one or more created through-container in one place(s) and specify some props for it in one or more through-agent in another place(s) of react tree.

Npm package Npm downloads Travis build status Test Coverage Dependency Status

Read the Documentation

Synopsis

  const Header = () => (
    Your ballance: <IndicatorContainer/> USD
  )

  const Content = () => (
    <IndicatorAgent balance=1000 />
  )

  <App>
    <Header />
    <Content />
  </App>

LICENSE

MIT

Keywords

react

FAQs

Package last updated on 20 Aug 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