use-once
Version:
Helper for react effects that only run once
29 lines (28 loc) • 678 B
JSON
{
"name": "use-once",
"version": "1.0.1",
"description": "Helper for react effects that only run once",
"main": "lib/use-once.js",
"repository": "git@github.com:CanopyTax/use-once.git",
"author": "Joel Denning <joeldenning@gmail.com>",
"license": "MIT",
"scripts": {
"prepublish": "yarn compile",
"compile": "babel src --out-dir lib --source-maps"
},
"keywords": [
"react",
"use",
"hook",
"effect",
"conditional",
"mount",
"componentDidMount"
],
"devDependencies": {
"@babel/cli": "^7.1.2",
"@babel/core": "^7.1.2",
"@babel/plugin-transform-modules-commonjs": "^7.1.0",
"react": "16.7.0-alpha.0"
}
}