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

resell-select

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

resell-select

Query a react component tree using CSS selectors.

latest
Source
npmnpm
Version
0.1.4
Version published
Maintainers
1
Created
Source

Resell Select

Query a react component tree using CSS selectors.

WARNING: Currently this relies on internal React properties, so it's very unstable.

Usage

const select = mkSelect()
const root = document.getElementById('root') // the root node where your react instance is mounted to
const node = select.fromRoot(root)

node.query('SomeComponent[property="something"]')

FAQs

Package last updated on 21 Nov 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