```js
function Editor({ data: { page } }: EditorProps) {
  if (page == null) throw Error('missing page data in editor')
  const [editorValue, setEditorValue] = useState(() => {
}
```

I believe this should be a valid case, because throw. 
if (!cycled && pathsFromStartToEnd !== allPathsFromStartToEnd) {
                context.report(
                  hook,
                  `React Hook "${context.getSource(hook)}" is called ` +
                    'conditionally. React Hooks must be called in the exact ' +
                    'same order in every component render.' +
                    (possiblyHasEarlyReturn
                      ? ' Did you accidentally call a React Hook after an' +
                        ' early return?'
                      : ''),
                );
              }
            } else if (
              codePathNode.parent &&
              (codePathNode.parent.type === 'MethodDefinition' ||
                codePathNode.parent.type === 'ClassProperty') &&
              codePathNode.parent.value === codePathNode
            ) {
              
              
              
              
              
            } else if (codePathFunctionName) {
              
              context.report(
                hook,
                `React Hook "${context.getSource(hook)}" is called in ` +
                  `function "${context.getSource(codePathFunctionName)}" ` +