{"library":"react-immutable-pure-component","type":"library","category":null,"description":"This library provides `ImmutablePureComponent`, an enhanced React PureComponent specifically designed to work efficiently with Immutable.js data structures. It addresses the limitation of React's built-in `PureComponent` which doesn't fully leverage Immutable.js's structural sharing for shallow comparisons. The core mechanism involves `updateOnProps` and `updateOnStates` properties, allowing developers to explicitly define which specific props or state paths should trigger re-renders, using `Immutable.is` for deep equality checks on specified paths. The current stable version is 2.2.2. Releases have been somewhat sporadic, but updates address typings, dependency changes, and new features like `immutableMemo`. Its key differentiator is providing granular control over `Immutable.js`-aware re-rendering logic within a class component context, offering an alternative to `React.memo` with Immutable.js. It supports both class and functional components (via `immutableMemo`) and ships with TypeScript types.","language":"javascript","status":"active","version":"2.2.2","tags":["javascript","react","memo","immutable","pure","component","PureComponent","typescript"],"install":[{"cmd":"npm install react-immutable-pure-component","imports":["import { ImmutablePureComponent } from 'react-immutable-pure-component';","import { immutableMemo } from 'react-immutable-pure-component';","import ImmutablePureComponent from 'react-immutable-pure-component';"]},{"cmd":"yarn add react-immutable-pure-component","imports":[]},{"cmd":"pnpm add react-immutable-pure-component","imports":[]}],"homepage":null,"github":"https://github.com/Monar/react-immutable-pure-component","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/react-immutable-pure-component","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/react-immutable-pure-component/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}