```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. 
const pathsFromStartToEnd =
            countPathsFromStart(segment) * countPathsToEnd(segment);
          
          const cycled = cyclic.has(segment.id);
          for (const hook of reactHooks) {
            
            if (cycled) {
              context.report(
                hook,
                `React Hook "${context.getSource(hook)}" may be executed ` +
                  'more than once. Possibly because it is called in a loop. ' +
                  'React Hooks must be called in the exact same order in ' +
                  'every component render.',
              );
            }
            
            
            
            
            
            if (isDirectlyInsideComponentOrHook) {