lurq

npm package

Home

@babel/plugin-transform-react-constant-elements

@babel/plugin-transform-react-constant-elements is a Babel plugin that optimizes React JSX elements by treating them as value types and hoisting them to the highest scope. This can improve performance in React applications by reducing unnecessary re-renders. It fits into the build process of a React app to enhance efficiency.

lurq health score
89/100
Confidence
proven
Weekly downloads
7,211,931
Latest version
8.0.5
Last release
Sep 10, 2026
License
MIT

Should you depend on @babel/plugin-transform-react-constant-elements?

lurq's verdict: low

  • No known advisories

Check this from your coding agent

This page is a daily snapshot. lurq's verify tool checks @babel/plugin-transform-react-constant-elements at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:

npx lurqrun

Free to start. Quickstart

Upgrading @babel/plugin-transform-react-constant-elements

What each major version removed, renamed or re-signatured, from lurq's extraction of the published packages.

Other framework packages lurq scores

Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 17, 2026; this page refreshes every 168 hours. Source repository.