Skip to content

Commit d56b77d

Browse files
Add createRef to standalone preact bundle
1 parent f5c8bec commit d56b77d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/integrations/preact/standalone.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
* limitations under the License.
1212
*/
1313

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

1818
const html = htm.bind(h);
1919

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

0 commit comments

Comments
 (0)