-
Notifications
You must be signed in to change notification settings - Fork 738
Infra/refactor view - convert to function component and use modifiers and themeProps hooks #2146
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
Conversation
</Element> | ||
); | ||
return container; | ||
}, [useSafeArea, animated, reanimated]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can see useSafeArea
changing, but probably not the other two
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree, And if they won't change there's no harm having them here (:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might have some performance implications, but they are probably minor
Description
Convert View to a function component to reduce render hierarchy
depends on #2145
Changelog
Convert View to a function component to reduce render hierarchy