Commit ca37bfc
committed
feat(select): enhance lifecycle management and state synchronization
- Improved handling of disposed instances with a new `_isSyncing` flag to prevent recursive state synchronization calls.
- Added checks for null elements in various methods to ensure robust handling of DOM changes.
- Introduced a static `reinit()` method for safe re-initialization of the select component.
- Enhanced disposal logic to clean up event listeners and MutationObserver effectively.
- Added comprehensive lifecycle tests to validate component behavior during re-initialization and state synchronization.1 parent e214e62 commit ca37bfc
4 files changed
Lines changed: 728 additions & 34 deletions
0 commit comments