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

Performance improvement #23

Merged
merged 2 commits into from
Jan 12, 2023
Merged

Performance improvement #23

merged 2 commits into from
Jan 12, 2023

Conversation

TrumanH
Copy link
Owner

@TrumanH TrumanH commented Jan 12, 2023

Description

  • Migrate cart reducer to typescript.
  • Use memo to memorize component function to reduce useless rerender when components props didn't change.
  • Use lazy import to split codes, lazy loading to reduce unnecessary resource cost.

@TrumanH TrumanH self-assigned this Jan 12, 2023
@TrumanH TrumanH merged commit 1da6a9d into main Jan 12, 2023
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.

1 participant