Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@datashaper/react

Package Overview
Dependencies
Maintainers
4
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@datashaper/react

  • 21.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-75%
Maintainers
4
Weekly downloads
 
Created
Source

react

This package contains a collection of React components for constructing wrangling pipeline interfaces. All of the core components used in our complete webapp are stored here, such as fundamental verb configuration forms, table renderers, etc.

Some of these components can be useful for data-driven apps even if they do not need to perform wrangling or build pipelines. For example, the ArqueroDetailsList is a standard Fluent DetailsList that accepts an Arquero table instead of the usual items array, and it automatically renders it richly and with various data display options.

Many of the components (including every verb configuration form) have stories that can be viewed in Storybook. Run the project locally to see these stories and use them during development, or view the latest on GitHub.

Verb forms

To create a new verb form component for use in the application, a few steps need to be taken:

  1. An implementation of the verb needs to exist in the workflow package.
  2. A form component needs to be written; these are in src/components/verbs. Any React component can be written as long as it binds change events to the workflow instance. We have a number of helpers and form templates to make this easier, see other verbs for examples. Ensure that selectStepForm has a mapping to bind the verb name to a form.
  3. A verb description needs to be written. This is a read-only summary of the verb parameters, usable for applications to display a concise printout of the pipeline, and also used in the stories to verify input mappings are correct. Ensure that selectStepDescription has a mapping to bind the verb name to a description.
  4. At minimum, add an entry in the every operation story to see the verb component and description rendered. If multiple permutations are desired, create a new story.

FAQs

Package last updated on 22 Feb 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc