UNPKG

587 BJavaScriptView Raw
1import { _catchError } from './diff/catch-error';
2
3/**
4 * The `option` object can potentially contain callback functions
5 * that are called during various stages of our renderer. This is the
6 * foundation on which all our addons like `preact/debug`, `preact/compat`,
7 * and `preact/hooks` are based on. See the `Options` type in `internal.d.ts`
8 * for a full list of available option hooks (most editors/IDEs allow you to
9 * ctrl+click or cmd+click on mac the type definition below).
10 * @type {import('./internal').Options}
11 */
12const options = {
13 _catchError
14};
15
16export default options;