compulim/use-ref-from

Fix used fallback condition

compulim opened this issue · 0 comments

Version

Latest production (@latest), Latest development (@main)

Module resolution

ESM: import { useRefFrom } from "use-ref-from", ESM: import useRefFrom from "use-ref-from/useRefFrom", CommonJS: require("use-ref-from"), CommonJS: require("use-ref-from/useRefFrom")

Bundler

Others or unrelated

Environment

0.5%, last 2 versions, Firefox ESR, not dead

Test case

https://arethetypeswrong.github.io/?p=use-ref-from%400.0.2

https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/FallbackCondition.md

Coding sandbox URL

No response

Console errors

No response

Screenshots

image

Additional context

No response