Clean up and refactor expression renderer component #86729
Labels
Feature:ExpressionLanguage
Interpreter expression language (aka canvas pipeline)
impact:medium
Addressing this issue will have a medium level of impact on the quality/strength of our product.
loe:large
Large Level of Effort
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
technical debt
Improvement of the software architecture and operational architecture
As discussed in #86092 (review), over time the expression renderer component exposing the expression loader as a react component grew into a complex interaction of hooks which are hard to reason about.
To keep the code manageable, this should be cleaned up.
This refactoring can be started with (but isn't limited to):
x-pack/plugins/lens/public/debounced_component/debounced_component.tsx
in Lens, it could be moved tokibana_react
, then used for the expression rendering. However it has to be made sure the loading state is shown during the debounce periodThe text was updated successfully, but these errors were encountered: