Create stable component function references at definition time instead of
on every render. This fixes Hono's JSX reconciliation losing track of
children when the component type identity keeps changing.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Use direct conditional instead of optional chaining so Bun can
statically analyze and remove the HMR block in production builds.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>