React compat layer
tbranyen opened this issue · 1 comments
tbranyen commented
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 commented
React hooks:
- useState
- useEffect
- useContext
- useReducer
- useCallback
- useMemo
- useRef
- useImperativeHandle
- useLayoutEffect
- useDebugValue
- useDeferredValue
- useTransition
- useId
- useSyncExternalStore
- useInsertionEffect
Top-level React API:
- React.Children
- React.Component
- React.Fragment
- React.Profiler
- React.PureComponent
- React.StrictMode
- React.Suspense
- React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED
- React.cloneElement
- React.createContext
- React.createElement
- React.createFactory
- React.createRef
- React.forwardRef
- React.isValidElement
- React.lazy
- React.memo
- React.startTransition
- React.unstable_act
- React.version