├── .eslintrc.js ├── .github └── workflows │ └── ci.yml ├── .gitignore ├── LICENSE ├── README.md ├── jest.config.js ├── package.json ├── src ├── callback.ts ├── effect.ts ├── index.ts ├── layoutEffect.ts ├── memo.ts ├── options.ts ├── state.ts └── useEqMemoize.ts ├── test ├── callback.test.ts ├── effect.test.ts ├── layoutEffect.test.ts ├── memo.test.ts ├── state.test.ts ├── state.ts └── tsconfig.json ├── tsconfig.commonjs.json └── tsconfig.json /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mblink/fp-ts-react-stable-hooks/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mblink/fp-ts-react-stable-hooks/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | dist/ -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mblink/fp-ts-react-stable-hooks/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mblink/fp-ts-react-stable-hooks/HEAD/README.md -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mblink/fp-ts-react-stable-hooks/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mblink/fp-ts-react-stable-hooks/HEAD/package.json -------------------------------------------------------------------------------- /src/callback.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mblink/fp-ts-react-stable-hooks/HEAD/src/callback.ts -------------------------------------------------------------------------------- /src/effect.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mblink/fp-ts-react-stable-hooks/HEAD/src/effect.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mblink/fp-ts-react-stable-hooks/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/layoutEffect.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mblink/fp-ts-react-stable-hooks/HEAD/src/layoutEffect.ts -------------------------------------------------------------------------------- /src/memo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mblink/fp-ts-react-stable-hooks/HEAD/src/memo.ts -------------------------------------------------------------------------------- /src/options.ts: -------------------------------------------------------------------------------- 1 | export type StableHookOptions = { debug?: boolean }; -------------------------------------------------------------------------------- /src/state.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mblink/fp-ts-react-stable-hooks/HEAD/src/state.ts -------------------------------------------------------------------------------- /src/useEqMemoize.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mblink/fp-ts-react-stable-hooks/HEAD/src/useEqMemoize.ts -------------------------------------------------------------------------------- /test/callback.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mblink/fp-ts-react-stable-hooks/HEAD/test/callback.test.ts -------------------------------------------------------------------------------- /test/effect.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mblink/fp-ts-react-stable-hooks/HEAD/test/effect.test.ts -------------------------------------------------------------------------------- /test/layoutEffect.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mblink/fp-ts-react-stable-hooks/HEAD/test/layoutEffect.test.ts -------------------------------------------------------------------------------- /test/memo.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mblink/fp-ts-react-stable-hooks/HEAD/test/memo.test.ts -------------------------------------------------------------------------------- /test/state.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mblink/fp-ts-react-stable-hooks/HEAD/test/state.test.ts -------------------------------------------------------------------------------- /test/state.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mblink/fp-ts-react-stable-hooks/HEAD/test/state.ts -------------------------------------------------------------------------------- /test/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mblink/fp-ts-react-stable-hooks/HEAD/test/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.commonjs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mblink/fp-ts-react-stable-hooks/HEAD/tsconfig.commonjs.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mblink/fp-ts-react-stable-hooks/HEAD/tsconfig.json --------------------------------------------------------------------------------