npm.io
0.14.24 • Published 2 years ago

@types/react-addons-pure-render-mixin

Licence
MIT
Version
0.14.24
Deps
1
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/react-addons-pure-render-mixin

Summary

This package contains type definitions for react-addons-pure-render-mixin (http://facebook.github.io/react/).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-addons-pure-render-mixin.

index.d.ts

import { ComponentLifecycle } from "react";

declare var PureRenderMixin: PureRenderMixin;
export = PureRenderMixin;

interface PureRenderMixin {
    shouldComponentUpdate: NonNullable<ComponentLifecycle<any, any>["shouldComponentUpdate"]>;
}

Additional Details

  • Last updated: Sat, 06 Jan 2024 0938 GMT
  • Dependencies: @types/react

Credits

These definitions were written by Asana, AssureSign, and Microsoft.