@rcp/use.compareeffect
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

@rcp/use.compareeffect

NPM version NPM Downloads

use custome compare effect

Installation

npm install @rcp/use.compareeffect
# or use yarn
yarn add @rcp/use.compareeffect

Usage

import useCompareEffect from '@rcp/use.compareeffect'

const App = () => {
  useCompareEffect(() => {}, deps, equals /* shadowEq by default */)
}

API

Related

Authors

This library is written and maintained by 余聪, yucong@yuanfudao.com.

License

MIT

Package Sidebar

Install

npm i @rcp/use.compareeffect

Weekly Downloads

4

Version

2.0.0

License

MIT

Unpacked Size

9.01 kB

Total Files

14

Last publish

Collaborators

  • moyuyc