Skip to content

react-call@2.0.2

Latest

Choose a tag to compare

@github-actions github-actions released this 21 Jun 21:53
· 17 commits to main since this release
5d8867e

Patch Changes

  • 46a7013: Fix: Vite/React Fast Refresh no longer rejects a Callable as "incompatible" in the published build, so editing a Callable's own source while a call is open hot-updates in place instead of triggering a full reload that closes it (ADR-0022, #110).

    The minified bundle renamed the returned component's function to a lowercase identifier, which fails react-refresh's isLikelyComponentType name check — and because the truthy minified name shadows displayName, neither setting displayName manually nor the react-call/vite plugin could work around it. createCallable now pins an uppercase name on the Callable (dev-only; production output is byte-for-byte unchanged), restoring Fast Refresh acceptance for the artifact consumers actually install.