Leverage Lit controllers #11305
Labels
0 - new
New issues that need assignment.
needs triage
Planning workflow - pending design/dev review.
refactor
Issues tied to code that needs to be significantly reworked.
Description
Lit controllers are a powerful and useful feature that we can start leveraging to streamline code and promote reusability. The following are potential candidates that could be refactored to follow this pattern:
loadable
-> can probably leveragecomponentOnReady
since it's consistent across all outputs - refactor(loadable): deprecate obsolete helpers #11312, Drop deprecated LoadableComponent utils #11333focusTrapComponent
– fix(dialog): toggle focus-trap on DOM connect and disconnect #11429floating-ui
form
interactive
label
openCloseComponent
- refactor: add useOpenClose controller #11309selectableComponent
sortableComponent
Proposed Advantages
Leaner code, simpler code reuse pattern.
Which Component
Modules listed above.
Relevant Info
Note: controllers testing should use Vitest browser mode
Calcite package
The text was updated successfully, but these errors were encountered: