From c2e869ae19e4ec1679520bf0be69116977d870cf Mon Sep 17 00:00:00 2001 From: Justin Leider Date: Tue, 23 Nov 2021 19:59:41 +0000 Subject: [PATCH] Bump version and update readme --- README.md | 17 +++++++++-------- package.json | 2 +- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index fd8985e..7c54cda 100644 --- a/README.md +++ b/README.md @@ -61,14 +61,15 @@ useStableEffect(() => { ## API -| React Hook | Stable Hook | Description | -|-------------|-------------------|-------------| -| useState | useStable | Base hook that requires an equality function | -| | useStableE | Helper function which automatically proves the top level equality function for `Either` | -| | useStableO | Helper function which automatically proves the top level equality function for `Option` | -| useEffect | useStableEffect | Base hook that requires an equality function | -| useCallback | useStableCallback | Base hook that requires an equality function | -| useMemo | useStableMemo | Base hook that requires an equality function | +| React Hook | Stable Hook | Description | +|-----------------|-----------------------|-------------| +| useState | useStable | Base hook that requires an equality function | +| | useStableE | Helper function which automatically proves the top level equality function for `Either` | +| | useStableO | Helper function which automatically proves the top level equality function for `Option` | +| useEffect | useStableEffect | Base hook that requires an equality function | +| useLayoutEffect | useStableLayoutEffect | Base hook that requires an equality function | +| useCallback | useStableCallback | Base hook that requires an equality function | +| useMemo | useStableMemo | Base hook that requires an equality function | ## React Hooks Linter If you already use the recommended react hooks lint rule you can add this to your `eslint` file. diff --git a/package.json b/package.json index d5bce68..3b1578b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fp-ts-react-stable-hooks", - "version": "1.2.1", + "version": "1.3.1", "description": "Stable hooks for react using FP-TS equality checks instead of shallow (reference) object comparison", "main": "dist/lib/index.js", "module": "dist/es2015/index.js",