News for hackers. Stuff that matters.
Re:Show HN: React-hint – 150LoC Tooltip Component for React,... by slmgc on Sunday August 27, 2017 @04:39PM (#15112599)
Yep, it works just fine without Preact's compatibility layer:

  import {h, Component} from 'preact'
  import {ReactHintFactory} from 'react-hint'
  import 'react-hint/css/index.css'

  const ReactHint = ReactHintFactory({createElement: h, 
  Component})

There are no comments on this comment yet.