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

@forge/babel-plugin-transform-ui

Package Overview
Dependencies
Maintainers
0
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@forge/babel-plugin-transform-ui

Babel transform for Forge UI components

  • 1.1.19
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

This Babel plugin is for marking Forge UI JSX components with unique key (property) __auxId.

The purpose of the key is to be consistent between renders, even when the code around it is inconsistent like this:

{showButtonOne && <Button text="Hello" />}
<Button text="World" />

Without this Babel plugin, the "World" button may be marked Button.0 or Button.1, depending on the value of showButtonOne.

FAQs

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