{"library":"create-react-class","type":"library","category":null,"description":"The `create-react-class` package provides a way to define React components using a plain JavaScript object, mirroring the `React.createClass` API that was prevalent before the widespread adoption of ES6 classes and functional components with Hooks. Currently at version 15.7.0, this library serves as a drop-in replacement for the original `React.createClass`, which was extracted from the core `react` package into a standalone library. Its primary purpose is to support legacy codebases that have not yet migrated to modern React paradigms. The package itself is largely in a maintenance-only state, receiving no significant feature updates, as React development has shifted towards newer component patterns. Key differentiators include automatic `this` binding and support for `mixins`, features not present in ES6 class components or functional components.","language":"javascript","status":"deprecated","version":"15.7.0","tags":["javascript","react"],"last_verified":"Wed May 27","install":[{"cmd":"npm install create-react-class","imports":["import createReactClass from 'create-react-class';"]},{"cmd":"yarn add create-react-class","imports":[]},{"cmd":"pnpm add create-react-class","imports":[]}],"homepage":"https://facebook.github.io/react/","github":"https://github.com/facebook/react","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/create-react-class","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/create-react-class/compatibility"}}