├── .eslintrc.js ├── .github └── workflows │ ├── build.yml │ ├── npm-publish.yml │ └── test.yml ├── .gitignore ├── .prettierrc ├── LICENSE ├── README.md ├── jest.config.js ├── package.json ├── src ├── ErrorBoundary.ts ├── __tests__ │ ├── ErrorBoundary.spec.tsx │ └── use-error-boundary.spec.tsx ├── create-error-boundary.ts ├── index.cjs.ts ├── index.ts └── use-error-boundary.ts └── tsconfig.json /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoschuaSchneider/use-error-boundary/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoschuaSchneider/use-error-boundary/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.github/workflows/npm-publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoschuaSchneider/use-error-boundary/HEAD/.github/workflows/npm-publish.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoschuaSchneider/use-error-boundary/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # build 2 | lib/ 3 | 4 | # dependencies 5 | node_modules/ -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "semi": false 3 | } -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoschuaSchneider/use-error-boundary/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoschuaSchneider/use-error-boundary/HEAD/README.md -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoschuaSchneider/use-error-boundary/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoschuaSchneider/use-error-boundary/HEAD/package.json -------------------------------------------------------------------------------- /src/ErrorBoundary.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoschuaSchneider/use-error-boundary/HEAD/src/ErrorBoundary.ts -------------------------------------------------------------------------------- /src/__tests__/ErrorBoundary.spec.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoschuaSchneider/use-error-boundary/HEAD/src/__tests__/ErrorBoundary.spec.tsx -------------------------------------------------------------------------------- /src/__tests__/use-error-boundary.spec.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoschuaSchneider/use-error-boundary/HEAD/src/__tests__/use-error-boundary.spec.tsx -------------------------------------------------------------------------------- /src/create-error-boundary.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoschuaSchneider/use-error-boundary/HEAD/src/create-error-boundary.ts -------------------------------------------------------------------------------- /src/index.cjs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoschuaSchneider/use-error-boundary/HEAD/src/index.cjs.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoschuaSchneider/use-error-boundary/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/use-error-boundary.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoschuaSchneider/use-error-boundary/HEAD/src/use-error-boundary.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoschuaSchneider/use-error-boundary/HEAD/tsconfig.json --------------------------------------------------------------------------------