feat(smartrouter): Add destroy method to SmartRouter class.

This commit is contained in:
2024-10-06 22:27:53 +02:00
parent fa8ec78c1c
commit c74c4e78a6
3 changed files with 25 additions and 3 deletions

View File

@@ -1,5 +1,11 @@
# Changelog
## 2024-10-06 - 1.3.0 - feat(smartrouter)
Add destroy method to SmartRouter class.
- Introduced a destroy method to the SmartRouter class for cleaning up event listeners and route references.
- Refactored popstate event listener to be removable, improving resource management and preventing memory leaks.
## 2024-10-06 - 1.2.1 - fix(core)
Ensure stability and performance improvements