Fires a dev-only "Component: message" console warning once per mount while the condition holds. It is the render-safe way for a component to flag misuse: warning straight from the render body repeats on every render, and gating it with state adds a re-render, so this uses a ref and an effect instead. For a warning outside a component, use the imperative devWarn utility.
pnpm dlx shadcn@latest add "https://astryx.atmeta.com/shadcn/hook-use-dev-warning.json"