Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

fix: add root shared value to as dep instead of .value #2459

Merged
merged 1 commit into from
Oct 23, 2023

Conversation

hirbod
Copy link
Contributor

@hirbod hirbod commented Oct 22, 2023

Why

The .value should be removed from the deps array when using useSharedValue. This is necessary for it to work on the web.

Fixes #2458

Thanks, @nandorojo!

How

Removed .value and use the root shared value.

Test Plan

@vercel
Copy link

vercel bot commented Oct 22, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
showtime ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 22, 2023 2:08pm

@hirbod hirbod changed the title fix: add root shared value to dependency fix: add root shared value to as dep instead of .value Oct 22, 2023
@github-actions
Copy link

PR Preview - App

This pull request preview deployment is now available.

Open Details

✅ Preview: exp+io.showtime.development://expo-development-client/?url=https://u.expo.dev/45cbf5d5-24fe-4aa6-9580-acf540651abd&channel-name=pr-2459

Comment ID:

Copy link
Collaborator

@intergalacticspacehighway intergalacticspacehighway left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ❇️

Copy link
Collaborator

@alantoa alantoa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@hirbod hirbod merged commit bcfd350 into staging Oct 23, 2023
7 of 11 checks passed
@hirbod hirbod deleted the fix/edit-message-web branch October 23, 2023 20:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove .value from deps array
3 participants