You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: withInitDataInState wrong state after 2nd defaultDataProcessor (#1478)
<!--
Thank you for submitting a pull request!
We appreciate the time and effort you have invested in making these
changes. Please ensure that you provide enough information to allow
others to review your pull request.
Upon submission, your pull request will be automatically assigned with
reviewers.
If you want to learn more about contributing to this project, please
visit:
https://github.com/lynx-family/lynx-stack/blob/main/CONTRIBUTING.md.
-->
<!-- The AI summary below will be auto-generated - feel free to replace
it with your own. -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Bug Fixes**
* Resolved an issue where state was not correctly maintained across
multiple calls to the data processor, ensuring consistent state updates
in components using initialization data.
* **Tests**
* Added and improved tests for state injection and update behavior when
using the initialization data feature, enhancing test clarity and
coverage.
* **Chores**
* Simplified and restructured test setup for better reliability and
maintainability.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
## Checklist
<!--- Check and mark with an "x" -->
- [x] Tests updated (or not required).
- [ ] Documentation updated (or not required).
- [x] Changeset added, and when a BREAKING CHANGE occurs, it needs to be
clearly marked (or not required).
0 commit comments