🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@hh.ru/babel-plugin-react-displayname

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hh.ru/babel-plugin-react-displayname

Automatically detects and sets displayName for React components. This is useful for having real component names show up in production builds of React apps.

latest
Source
npmnpm
Version
1.1.3
Version published
Weekly downloads
61
19.61%
Maintainers
1
Weekly downloads
 
Created
Source

@hh.ru/babel-plugin-react-displayname

Automatically detects and sets displayName for React components. This is useful for having real component names show up in production builds of React apps.

Installation

Simply add @hh.ru/babel-plugin-react-displayname to your .babelrc file:

{
    "plugins": ["@hh.ru/babel-plugin-react-displayname"]
}

Testing

yarn test

Keywords

babel-plugin-react-displayname

FAQs

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