orionus.dev

Blog

Hooks called from nowhere

Astro dev logs 'Invalid hook call' every request, build stays clean. Cause: a React island returns null, tripping @astrojs/react's check() probe.

  • #astro
  • #react
  • #debugging
  • #invalid-hook-call
  • #astrojs-react