Skip to content

Commit

Permalink
Export useErrorBoundary hook
Browse files Browse the repository at this point in the history
  • Loading branch information
artisonian committed Sep 30, 2020
1 parent ed1c620 commit 49b7826
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -112,7 +112,7 @@
"eslint-config-developit": "^1.1.1",
"jest": "^24.1.0",
"microbundle": "^0.10.1",
"preact": "^10.0.0",
"preact": "^10.2.0",
"react": "^16.8.3"
}
}
4 changes: 2 additions & 2 deletions src/integrations/preact/standalone.mjs
Expand Up @@ -12,9 +12,9 @@
*/

import { h, Component, createContext, render } from 'preact';
import { useState, useReducer, useEffect, useLayoutEffect, useRef, useImperativeHandle, useMemo, useCallback, useContext, useDebugValue } from 'preact/hooks';
import { useState, useReducer, useEffect, useLayoutEffect, useRef, useImperativeHandle, useMemo, useCallback, useContext, useDebugValue, useErrorBoundary } from 'preact/hooks';
import htm from '../../index.mjs';

const html = htm.bind(h);

export { h, html, render, Component, createContext, useState, useReducer, useEffect, useLayoutEffect, useRef, useImperativeHandle, useMemo, useCallback, useContext, useDebugValue };
export { h, html, render, Component, createContext, useState, useReducer, useEffect, useLayoutEffect, useRef, useImperativeHandle, useMemo, useCallback, useContext, useDebugValue, useErrorBoundary };

0 comments on commit 49b7826

Please sign in to comment.