diffhtml icon indicating copy to clipboard operation
diffhtml copied to clipboard

React compat layer

Open tbranyen opened this issue 2 years ago • 1 comments

Before we can ship a 1.0, we need more baseline compatibility with React components. Since most components are using hooks now, we'll need to wire up support using createState and createSideEffect.

tbranyen avatar Dec 20 '21 20:12 tbranyen

React hooks:

Top-level React API:

  • [x] React.Children
  • [x] React.Component
  • [ ] React.Fragment
  • [ ] React.Profiler
  • [x] React.PureComponent
  • [ ] React.StrictMode
  • [ ] React.Suspense
  • [x] React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED
  • [x] React.cloneElement
  • [ ] React.createContext
  • [x] React.createElement
  • [x] React.createFactory
  • [x] React.createRef
  • [ ] React.forwardRef
  • [x] React.isValidElement
  • [ ] React.lazy
  • [ ] React.memo
  • [ ] React.startTransition
  • [ ] React.unstable_act
  • [ ] React.version

tbranyen avatar Mar 29 '22 17:03 tbranyen