Skip to content

Commit 6b17de9

Browse files
authored
Merge branch 'master' into staticness-bits
2 parents 0ac2b50 + 1ec0588 commit 6b17de9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/integrations/preact/standalone.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
*/
1313

1414
import { h, Component, render as preactRender } from 'preact';
15+
import { useState, useReducer, useEffect, useLayoutEffect, useRef, useImperativeHandle, useMemo, useCallback, useContext, useDebugValue } from 'preact/hooks';
1516
import htm from '../../index.mjs';
1617

1718
function render(tree, parent) {
@@ -20,4 +21,4 @@ function render(tree, parent) {
2021

2122
const html = htm.bind(h);
2223

23-
export { h, html, render, Component };
24+
export { h, html, render, Component, useState, useReducer, useEffect, useLayoutEffect, useRef, useImperativeHandle, useMemo, useCallback, useContext, useDebugValue };

0 commit comments

Comments
 (0)