-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor and Optimize Card Management Components and Contexts
- Updated CardMediaAndDetails component to fetch and display card images. - Enhanced CardContext with PATCH request logic to update missing card data from YGOPRO API. - Implemented constructCardDifferencesPayload function for efficiently tracking card updates within collections. - Modified CartContext to prevent infinite loops and optimized state management. - Fixed server-side routes for card information retrieval and PATCH updates, ensuring proper data fetching and error handling. - Streamlined useEffect dependencies in various components to enhance performance and prevent redundant renders.
- Loading branch information
Showing
81 changed files
with
2,553 additions
and
1,303 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.