Octane error #375

Full error message

%s was called without a hook slot in a custom hook that already gave its slot to another hook, so the two would share state. Octane did not compile the module that defines the custom hook: rename it to `.tsrx`, or declare `octane` in its package.json, or pass each hook a stable symbol, e.g. useState(0, Symbol.for('my-stable-id')).

A plain `.ts` or `.js` module gets hook slots when it sits inside the app root or its nearest package.json declares `octane`. Without them, each base hook in a custom hook takes the custom hook's call site as its slot, which holds the state of one hook, plus one `useSyncExternalStore`, whose state sits under keys derived from that slot. Modules marked `// octane-no-slot`, matched by the plugin's `exclude`, under a package's `octane.hookSlots.manual` directories, or left unmarked in a `requireDirective` build are not slotted. Development builds report the second such hook; production builds do not check.

This link is missing 1 argument. Unfilled %s placeholders remain visible above.

Use a development build while debugging to see full framework diagnostics at the original failure site.

← Browse all error codes