Skip to content

Animated example fix - #5264

Merged
Simek merged 1 commit into
mainfrom
animated-example-fix
Oct 7, 2026
Merged

Simek merged 1 commit into
mainfrom
animated-example-fix

Conversation

@Simek

@Simek Simek commented Oct 6, 2026

Copy link
Copy Markdown
Collaborator

Why

Fixes #5263
Supersedes #5122

How

There are some false-positive reports related to missing useAnimatedValue hook export from React Native. The hook is there, and it's a recommended way to use animated values, but the issue is that react-native-web does not supports it.

For some reason Animated example in docs versions after 0.80 lost the supportedPlatforms Snack query params, which prevented web platform from being used. This PR restores the missing param to avoid user confusion on the core side. Lack of that hook should be reported and fixed in the React Native Web repo:

Preview

Screenshot 2026-10-06 140441

@Simek
Simek merged commit 5fe0561 into main Oct 7, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix incorrect useAnimatedValue usage in Animated documentation

2 participants