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

feat(storefront): Dispatch an event on productOptionsChanged #2400

Conversation

mgarciaebo
Copy link
Contributor

@mgarciaebo mgarciaebo commented Nov 13, 2023

Including all the information fetched in the previous request to the API to improve extensibility.

Having this mechanism, developers can set a listener and get as much information as they need regarding the selected option, so a new API call can be potentially avoided for further actions associated this event.

What?

This update enhances API data handling by including all information from previous API requests, thus improving extensibility. It allows developers to set listeners to access comprehensive information, which could reduce the need for further API calls.

Requirements

  • CHANGELOG.md entry added (required for code changes only)

Including all the information fetched in the previous request to the API to improve extensibility.

Having this mechanism, developers can set a listener and get as much information as they need regarding the selected option, so a new API call can be potentially avoided for further actions associated this event.
@BC-krasnoshapka BC-krasnoshapka requested a review from a team November 13, 2023 16:36
@BC-krasnoshapka BC-krasnoshapka merged commit c22ed7f into bigcommerce:master Jan 4, 2024
3 checks passed
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.

None yet

4 participants