Skip to content

Commit

Permalink
Flow
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Aug 27, 2020
1 parent 59d2ef5 commit 6c23ef9
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions packages/react-server/src/ReactFlightServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -438,14 +438,14 @@ const Dispatcher: DispatcherType = {
useTransition(): [(callback: () => void) => void, boolean] {
return [false, () => {}];
},
readContext: unsupportedHook,
useContext: unsupportedHook,
useReducer: unsupportedHook,
useRef: unsupportedHook,
useState: unsupportedHook,
useLayoutEffect: unsupportedHook,
useImperativeHandle: unsupportedHook,
useEffect: unsupportedHook,
useOpaqueIdentifier: unsupportedHook,
useMutableSource: unsupportedHook,
readContext: (unsupportedHook: any),
useContext: (unsupportedHook: any),
useReducer: (unsupportedHook: any),
useRef: (unsupportedHook: any),
useState: (unsupportedHook: any),
useLayoutEffect: (unsupportedHook: any),
useImperativeHandle: (unsupportedHook: any),
useEffect: (unsupportedHook: any),
useOpaqueIdentifier: (unsupportedHook: any),
useMutableSource: (unsupportedHook: any),
};

0 comments on commit 6c23ef9

Please sign in to comment.