-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
31 lines (31 loc) · 1.17 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
"name": "usememoryleakprevention",
"version": "1.0.1",
"description": "The useMemoryLeakPrevention hook is a custom React hook that provides an easy way to clean up any resources or subscriptions that might cause memory leaks when a component is unmounted. The hook uses useEffect and useCallback hooks to ensure that the cleanup function is called when the component is unmounted and also when any relevant dependencies change. This hook can help prevent memory leaks in your React application by providing a simple and reusable solution for cleaning up resources and subscriptions.",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"react",
"custom",
"hook",
"reusable",
"memory",
"leakage",
"prevention"
],
"author": "Emmanuel Olaosebikan",
"license": "ISC",
"repository": {
"type": "git",
"url": "git+https://github.com/DevEmmy/useMemoryLeakPrevention.git"
},
"bugs": {
"url": "https://github.com/DevEmmy/useMemoryLeakPrevention/issues"
},
"homepage": "https://github.com/DevEmmy/useMemoryLeakPrevention#readme",
"dependencies": {
"react": "^18.2.0"
}
}