babel-plugin-transform-react-class-to-function

JSON →
library 1.2.2 ·javascript maintenance
verified May 27, 2026

A Babel 7 plugin that transforms React class components into functional components. Current stable version is 1.2.2. Release cadence is low; last update was several years ago. Key differentiator: automates conversion to reduce bundle size, avoids manual refactoring. Compared to alternatives like babel-plugin-transform-react-pure-class-to-function, it supports Babel 7 and offers a 'memo' option to handle PureComponent and shouldComponentUpdate.

total hits 17
actors 6 distinct systems
last hit 4d ago human
ByteDance
3
GPTBot
2
Script
1
Search engines
1
Humans
2

top countries 🇩🇪 Germany · 🇸🇬 Singapore · 🇨🇦 Canada · 🇺🇸 United States · 🇫🇷 France