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

Improvement/functional primitives #1365

Merged
merged 22 commits into from
Aug 9, 2019
Merged

Conversation

boygirl
Copy link
Contributor

@boygirl boygirl commented Aug 9, 2019

This PR refactors all primitives to use stateless functional components instead of classes. Base primitives like Path use React.memo with isEqual from react-fast-compare instead of sCU logic. This PR is a breaking change for victory-native and users who were extending from Victory's primitive components.

@boygirl boygirl merged commit a5c87a2 into v33.0.0 Aug 9, 2019
@boygirl boygirl deleted the improvement/functional-primitives branch August 9, 2019 21:10
@boygirl boygirl mentioned this pull request Aug 22, 2019
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

Successfully merging this pull request may close these issues.

3 participants