Skip to content

Remove useErrorBoundary in compat/src/index.d.ts#2631

Merged
developit merged 2 commits intopreactjs:masterfrom
38elements:useErrorBoundary
Aug 7, 2020
Merged

Remove useErrorBoundary in compat/src/index.d.ts#2631
developit merged 2 commits intopreactjs:masterfrom
38elements:useErrorBoundary

Conversation

@38elements
Copy link
Copy Markdown
Contributor

@38elements 38elements commented Jul 16, 2020

useErrorBoundary is not exported from preact/compat.

import {
useState,
useReducer,
useEffect,
useLayoutEffect,
useRef,
useImperativeHandle,
useMemo,
useCallback,
useContext,
useDebugValue
} from 'preact/hooks';

@38elements 38elements marked this pull request as draft July 16, 2020 11:05
@coveralls
Copy link
Copy Markdown

coveralls commented Jul 16, 2020

Coverage Status

Coverage remained the same at 99.8% when pulling 02f2a73 on 38elements:useErrorBoundary into 5747b89 on preactjs:master.

@38elements 38elements marked this pull request as ready for review July 16, 2020 11:20
@developit developit merged commit 9eb0de6 into preactjs:master Aug 7, 2020
@38elements 38elements deleted the useErrorBoundary branch August 7, 2020 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants