Skip to content

Commit

Permalink
Merge branch 'master' into fix-typings
Browse files Browse the repository at this point in the history
  • Loading branch information
jviide authored Jan 23, 2020
2 parents 541f3b3 + 7623ca1 commit b9b7c98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/integrations/preact/standalone.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* limitations under the License.
*/

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

Expand All @@ -21,4 +21,4 @@ function render(tree, parent) {

const html = htm.bind(h);

export { h, html, render, Component, 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 };

0 comments on commit b9b7c98

Please sign in to comment.