Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
jleider committed Mar 3, 2021
1 parent 7cea2fb commit 364833c
Show file tree
Hide file tree
Showing 9 changed files with 50 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dist/effect.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import * as Eq from 'fp-ts/Eq';
import { EffectCallback, useEffect } from 'react';
export declare const useStableEffect: <A extends readonly unknown[]>(callback: EffectCallback, dependencies: A, eq: Eq.Eq<A>) => ReturnType<typeof useEffect>;
18 changes: 18 additions & 0 deletions dist/effect.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/effect.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export { useStable, useStableE, useStableO } from './state';
export { useStableEffect } from './effect';
3 changes: 3 additions & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions dist/state.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import * as E from 'fp-ts/Either';
import * as Eq from 'fp-ts/Eq';
import * as O from 'fp-ts/Option';
import { Dispatch } from 'react';
export declare const useStable: <A>(initState: A, eq: Eq.Eq<A>) => [A, Dispatch<A>];
export declare const useStableO: <A>(initState: O.Option<A>) => [O.Option<A>, Dispatch<O.Option<A>>];
export declare const useStableE: <E, A>(initState: E.Either<E, A>) => [E.Either<E, A>, Dispatch<E.Either<E, A>>];
14 changes: 14 additions & 0 deletions dist/state.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/state.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 364833c

Please sign in to comment.