yusenthebot

@babel/preset-react

Babel preset for all React plugins.. Use when: bundling and transpiling source code; development server with HMR; production builds. NOT for: runtime application logic; package management (use npm/yarn).

yusenthebot 0 Updated 3mo ago
GitHub

Install

npx skillscat add yusenthebot/skills-pack/babel-preset-react

Install via the SkillsCat registry.

SKILL.md

@babel/preset-react

Overview

Babel preset for all React plugins.. A popular build tool package for Node.js with 85.0M monthly downloads.

Installation

npm install @babel/preset-react

Core API / Usage

import babelpresetreact from '@babel/preset-react';

// See official documentation for complete API reference
// https://www.npmjs.com/package/@babel/preset-react

Common Patterns

Refer to the official documentation for common patterns, recipes, and advanced usage examples.

Configuration

See the official documentation for configuration options and advanced settings.

Tips & Gotchas

  • Current version: 7.28.5. Check the changelog when upgrading across major versions.
  • Refer to the official npm page for edge cases and advanced configuration.