
Product
Introducing Reports: An Extensible Reporting Framework for Socket Data
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.
create-react-class
Advanced tools
A drop-in replacement for React.createClass.
Refer to the React documentation for more information.
The main React package itself now supports hooks, which can be used to write components in a functional style without classes. Hooks provide similar functionalities to lifecycle methods and state management without the need for create-react-class.
Preact-compat is a layer over Preact that attempts to achieve React compatibility with a smaller footprint. It allows you to use React-like components and lifecycle methods, similar to create-react-class, but with Preact's optimizations.
Recompose is a React utility belt for function components and higher-order components. It provides the ability to write components in a functional manner and can be seen as an alternative to create-react-class, especially before hooks were introduced in React.
FAQs
Legacy API for creating React components.
The npm package create-react-class receives a total of 1,254,278 weekly downloads. As such, create-react-class popularity was classified as popular.
We found that create-react-class demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?

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.

Product
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.