-
-
Notifications
You must be signed in to change notification settings - Fork 108
Description
I tried to use the basic example with functional component and failed to to this. I saw there's already an issue discussing about it (#9), but no answer was provide.
Using the navigation lib, everything is fine, but this librairy not.
The main goal is to achieve the basic implementation so I can do more complex things.
Tried to use State, Refs but nothing is working, everytime I get errors like Error: Maximum update depth exceeded.
Repro : https://snack.expo.dev/@marc-hbb/sharedelement
EDIT : My final goal is to have a shared element transition on a view. With navigation, it seems that if I want to use it on a View (with an image inside), the image is laggy.
On the other hand, on the "hero" example the shared element is a View.
If there's a way to achieve this with react-navigation-shared-element please let me know ! :)