# @types/react-addons-shallow-compare

> TypeScript definitions for react-addons-shallow-compare

Latest version **0.14.25** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/react-addons-shallow-compare
pnpm add @types/react-addons-shallow-compare
yarn add @types/react-addons-shallow-compare
bun add @types/react-addons-shallow-compare
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.14.25 |
| Published | 2023-11-07 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51449 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/react-addons-shallow-compare
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-addons-shallow-compare
- npm.io page: https://npm.io/package/@types/react-addons-shallow-compare

## Dependencies (1)

- [@types/react](https://npm.io/package/@types/react.md) *

## Recent versions

- 0.14.25 (latest) — 2023-11-07
- 0.14.22 (ts4.3) — 2018-08-06
- 0.14.21 (ts2.6) — 2018-02-12
- 0.14.20 (ts2.4) — 2017-06-23
- 0.14.19 (ts2.1) — 2017-01-23
- 0.14.18 (ts2.0) — 2016-12-30
- 0.14.24 — 2023-10-18
- 0.14.23 — 2023-09-27
- 0.0.0 — 2016-11-30
- 0.14.17 — 2016-09-19
- 0.14.16 — 2016-08-25
- 0.14.15 — 2016-08-19
- 0.14.14 — 2016-08-02
- 0.14.13 — 2016-07-14
- 0.14.12-alpha — 2016-07-08
- … 7 more at https://npm.io/package/@types/react-addons-shallow-compare/versions

## README

# Installation
> `npm install --save @types/react-addons-shallow-compare`

# Summary
This package contains type definitions for react-addons-shallow-compare (http://facebook.github.io/react/).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-addons-shallow-compare.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-addons-shallow-compare/index.d.ts)
````ts
import { Component } from "react";

export = shallowCompare;

// workaround to allow ES6 import syntax
// https://github.com/Microsoft/TypeScript/issues/5073
declare namespace shallowCompare {}

declare function shallowCompare<P, S>(
    component: Component<P, S>,
    nextProps: P,
    nextState: S,
): boolean;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: [@types/react](https://npmjs.com/package/@types/react)

# Credits
These definitions were written by [Asana](https://asana.com), [AssureSign](http://www.assuresign.com), and [Microsoft](https://microsoft.com).

---
_Source: https://npm.io/package/@types/react-addons-shallow-compare · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
