react-simplikit 0.0.8 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|

|
|
2
2
|
|
|
3
|
-
# react-simplikit · [](https://github.com/toss/slash/blob/main/LICENSE)
|
|
3
|
+
# react-simplikit · [](https://github.com/toss/slash/blob/main/LICENSE) [](https://codecov.io/gh/toss/react-simplikit)
|
|
4
4
|
|
|
5
5
|
English | [Korean](./README-ko_kr.md)
|
|
6
6
|
|
|
@@ -5,7 +5,7 @@ import { DependencyList } from 'react';
|
|
|
5
5
|
* `useAsyncEffect` is a custom hook for handling asynchronous side effects in React components.
|
|
6
6
|
* It follows the same cleanup pattern as `useEffect` while ensuring async operations are handled safely.
|
|
7
7
|
*
|
|
8
|
-
* @param {() => Promise<void | (() => void)>} effect - An asynchronous function executed in the `useEffect` pattern.
|
|
8
|
+
* @param {() => Promise<void | (() => void)>} [effect] - An asynchronous function executed in the `useEffect` pattern.
|
|
9
9
|
* This function can optionally return a cleanup function.
|
|
10
10
|
* @param {DependencyList} [deps] - A dependency array.
|
|
11
11
|
* The effect will re-run whenever any value in this array changes. If omitted, it runs only once when the component mounts.
|
|
@@ -5,7 +5,7 @@ import { DependencyList } from 'react';
|
|
|
5
5
|
* `useAsyncEffect` is a custom hook for handling asynchronous side effects in React components.
|
|
6
6
|
* It follows the same cleanup pattern as `useEffect` while ensuring async operations are handled safely.
|
|
7
7
|
*
|
|
8
|
-
* @param {() => Promise<void | (() => void)>} effect - An asynchronous function executed in the `useEffect` pattern.
|
|
8
|
+
* @param {() => Promise<void | (() => void)>} [effect] - An asynchronous function executed in the `useEffect` pattern.
|
|
9
9
|
* This function can optionally return a cleanup function.
|
|
10
10
|
* @param {DependencyList} [deps] - A dependency array.
|
|
11
11
|
* The effect will re-run whenever any value in this array changes. If omitted, it runs only once when the component mounts.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-simplikit",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"files": [
|
|
@@ -62,6 +62,7 @@
|
|
|
62
62
|
"jsdom": "^25.0.1",
|
|
63
63
|
"listr2": "^8.2.5",
|
|
64
64
|
"nanoid": "^5.1.5",
|
|
65
|
+
"openai": "^4.93.0",
|
|
65
66
|
"ora": "^8.2.0",
|
|
66
67
|
"prettier": "^3.4.2",
|
|
67
68
|
"prettier-plugin-sort-re-exports": "^0.1.0",
|
|
@@ -80,9 +81,6 @@
|
|
|
80
81
|
"react-dom": "*"
|
|
81
82
|
},
|
|
82
83
|
"packageManager": "yarn@4.5.3",
|
|
83
|
-
"dependencies": {
|
|
84
|
-
"openai": "^4.93.0"
|
|
85
|
-
},
|
|
86
84
|
"module": "./esm/index.mjs",
|
|
87
85
|
"exports": {
|
|
88
86
|
".": {
|