Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getNode() warning #20

Open
xmflsct opened this issue Jan 19, 2021 · 3 comments
Open

getNode() warning #20

xmflsct opened this issue Jan 19, 2021 · 3 comments

Comments

@xmflsct
Copy link

xmflsct commented Jan 19, 2021

Got this warning %s: Calling %s on the ref of an Animated component is no longer necessary. You can now directly use the ref instead. This method will be removed in a future release., ViewPager, getNode()

Probably related to this line

this.ref.current.getNode().setPage(index);

xmflsct added a commit to xmflsct/react-native-tab-view-viewpager-adapter that referenced this issue Jan 19, 2021
@zifahm
Copy link

zifahm commented Feb 3, 2021

@xmflsct Why doenst this work even after patch package?

Things I did:
Reset cache: --reset-cache
Remove node modules
I even cleande gradle and did run android :(

@xmflsct
Copy link
Author

xmflsct commented Feb 3, 2021

@zifahm it is working for me, only with a warning.

@zifahm
Copy link

zifahm commented Feb 4, 2021

@xmflsct ohh are you saying you are still getting the warning? getNode() even after patch package?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants