react-client-async
Advanced tools
Comparing version 1.0.7 to 1.0.8
@@ -1,2 +0,2 @@ | ||
export { default as Async, $signal, type AsyncFC, type State, type WaitingFC, type FallbackFC, } from '#components/Async'; | ||
export { default as useAsync, $abortedByRerender, $abortedByUser, type UseAsyncFn, type UseAsyncOptions, } from '#hooks/useAsync'; | ||
export { default as Async, $signal, type AsyncFC, type State, type WaitingFC, type FallbackFC, } from './libs/components/Async'; | ||
export { default as useAsync, $abortedByRerender, $abortedByUser, type UseAsyncFn, type UseAsyncOptions, } from './libs/hooks/useAsync'; |
@@ -1,2 +0,2 @@ | ||
export { default as Async, $signal, } from '#components/Async'; | ||
export { default as useAsync, $abortedByRerender, $abortedByUser, } from '#hooks/useAsync'; | ||
export { default as Async, $signal, } from './libs/components/Async'; | ||
export { default as useAsync, $abortedByRerender, $abortedByUser, } from './libs/hooks/useAsync'; |
import { type FC, type ReactNode } from 'react'; | ||
import { useAsync } from 'react-client-async'; | ||
import { useAsync } from '../../lib.js'; | ||
/** | ||
@@ -4,0 +4,0 @@ * Symbol for getting the signal from the props of the async function component. |
import { jsx as _jsx } from "react/jsx-runtime"; | ||
import { useCallback } from 'react'; | ||
import { useAsync, } from 'react-client-async'; | ||
import isAsyncFunction from '#utils/isAsyncFunction'; | ||
import isReactMemo from '#utils/isReactMemo'; | ||
import { useAsync, } from '../../lib.js'; | ||
import isAsyncFunction from '../utils/isAsyncFunction'; | ||
import isReactMemo from '../utils/isReactMemo'; | ||
/** | ||
@@ -7,0 +7,0 @@ * Symbol for getting the signal from the props of the async function component. |
{ | ||
"name": "react-client-async", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"main": "dist/lib.js", | ||
@@ -29,3 +29,4 @@ "module": "dist/lib.js", | ||
"build:app": "rsbuild build", | ||
"build:lib": "rm -rf dist && tsc -p tsconfig.lib.json", | ||
"build:lib": "bun run scripts/build-lib.sh", | ||
"build:lib:publish": "bun run build:lib && bun publish", | ||
"check": "biome check --write", | ||
@@ -63,4 +64,5 @@ "dev": "rsbuild dev --open", | ||
"tailwindcss": "^4.0.0", | ||
"tsc-alias": "^1.8.10", | ||
"typescript": "^5.7.3" | ||
} | ||
} |
16477
21