UNPKG

set-state-compare

Version:

setState for React that compares with the current state and only sets the state if changed.

34 lines (33 loc) 825 B
{ "name": "set-state-compare", "version": "1.0.58", "description": "setState for React that compares with the current state and only sets the state if changed.", "main": "src/index.js", "type": "module", "scripts": { "test": "jasmine" }, "repository": { "type": "git", "url": "git+ssh://git@github.com/kaspernj/set-state-compare.git" }, "keywords": [ "react", "set", "state" ], "author": "Kasper Stöckel <k@spernj.org>", "license": "ISC", "bugs": { "url": "https://github.com/kaspernj/set-state-compare/issues" }, "build": "npx babel src --out-dir dist", "homepage": "https://github.com/kaspernj/set-state-compare#readme", "devDependencies": { "jasmine": "^5.0.0" }, "dependencies": { "diggerize": "^1.0.5", "fetching-object": ">= 1.0.2" } }