Pular para o conteúdo

UNSAFE_PREACT_OPTIONS: Component uses Preact's global options

Este conteúdo não está disponível em sua língua ainda.

Severity Fault Stage
error customer (the source package) build output

The component imports Preact’s options object, the global hooks of the shared runtime. Every component on the page uses the same Preact, so a change there reaches the other components’ rendering and events (rule preact-options).

Remove the options import; do per-render work in components and hooks of your own component.