{"library":"react-shallow-equal","type":"library","category":null,"description":"The `react-shallow-equal` package provides specific utility functions for performing efficient shallow equality checks within React and React Native environments. It exposes `propsEqual`, `elementsEqual`, and `stylesEqual` functions, designed primarily to optimize component re-renders through `shouldComponentUpdate` by comparing component properties, React elements, and style objects. The current stable version is 0.1.1. However, the package has not seen updates in approximately 8 years, making its release cadence non-existent. It is a fork of `lelandrichardson/shallow-element-equals` and utilizes concepts from `lelandrichardson/style-equal`. Its key differentiator was its specialized focus on React-specific shallow comparisons, but modern React development largely utilizes `React.PureComponent` and `React.memo` for similar optimizations.","language":"javascript","status":"abandoned","version":"0.1.1","tags":["javascript","react","react-native","shallowequal","shallow-equal","shallowCompare","shallow-compare","equals","shouldComponentUpdate"],"install":[{"cmd":"npm install react-shallow-equal","imports":["import { propsEqual } from 'react-shallow-equal';","import { elementsEqual } from 'react-shallow-equal';","import { stylesEqual } from 'react-shallow-equal';"]},{"cmd":"yarn add react-shallow-equal","imports":[]},{"cmd":"pnpm add react-shallow-equal","imports":[]}],"homepage":null,"github":"https://github.com/Vlad-Zhukov/react-shallow-equal","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/react-shallow-equal","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-shallow-equal/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}