@forge/babel-plugin-transform-ui
TypeScript icon, indicating that this package has built-in type declarations

1.1.18 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @forge/babel-plugin-transform-ui

Weekly Downloads

5,059

Version

1.1.18

License

UNLICENSED

Unpacked Size

34.7 kB

Total Files

10

Last publish

Collaborators

  • danwinterwijntjes
  • atlassian-cicd