Skip to content

React Native Skia janky sync with reanimated values (useSharedValueEffect()) #1003

Answered by wcandillon
MaxRobertsDear asked this question in Q&A
Discussion options

You must be logged in to vote

It's possible that, indeed useSharedValueEffect is the bottleneck here. We're currently working on UI thread rendering and after that will look at ways to integrate with RE2 in a way that doesn't involve the JS thread.

Just to be on the safe side, moving the backDropBlurClipPath out of the render method doesn't change anything? (in case you have some extra render).
In general clipping operations are expensive, I'm wondering if you can reproduce the issue with a single Rect clip (no rounded corners).
It's definitely a use-case we want to monitor closely.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@MaxRobertsDear
Comment options

@wcandillon
Comment options

Answer selected by MaxRobertsDear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants