Commit 8c5e453
authored
refactor(rating): Improved code quality and architecture (#2171)
* refactor(rating): Improved code quality and architecture
- Replaced `guard` directive with propery `updated`
lifecycle method to handle the projected symbols update.
- Use the internal slot controller for managing the projected symbols.
- Replaced the generator-based rendering with a more efficient
`repeat` + `range` DOM diffing when `max` changes.
- The component now follows the project code style and architecture guidelines.
- Improved JSDoc description, added slot entries and annotated
example usage.1 parent 8222b33 commit 8c5e453
2 files changed
Lines changed: 205 additions & 138 deletions
0 commit comments