UNPKG

use-async-effekt-hooks

Version:

React hooks for async effects and memoization with proper dependency tracking and linting support

10 lines (9 loc) 303 B
import { useAsyncEffekt, useAsyncMemo } from '../index'; describe('index', function () { it('should export useAsyncEffekt', function () { expect(useAsyncEffekt).toBeDefined(); }); it('should export useAsyncMemo', function () { expect(useAsyncMemo).toBeDefined(); }); });