We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b3a05c commit 69b99d2Copy full SHA for 69b99d2
README.md
@@ -24,9 +24,9 @@ import ReactHintFactory from 'react-hint'
24
const ReactHint = ReactHintFactory(React)
25
26
// Preact
27
-import {h, Component} from 'preact'
+import {h, Component, createRef} from 'preact'
28
import ReactHintFactory from 'react-hint'
29
-const ReactHint = ReactHintFactory({createElement: h, Component})
+const ReactHint = ReactHintFactory({createElement: h, Component, createRef})
30
31
// Inferno
32
import Inferno from 'inferno-compat'
0 commit comments