Skip to content

Dx improvements

Dx improvements #45

Triggered via pull request October 23, 2025 11:03
Status Success
Total duration 1m 40s
Artifacts

ci-checks.yml

on: pull_request
yarn_install
12s
yarn_install
check_unit_tests
1m 6s
check_unit_tests
check_types
26s
check_types
check_lint
21s
check_lint
check_docs_api
17s
check_docs_api
Fit to window
Zoom out
Zoom in

Annotations

2 warnings
check_lint: packages/base/src/Tooltip/Tooltip.tsx#L220
Do not define components during render. React will see a new component type on every render and destroy the entire subtree’s DOM nodes and state (https://reactjs.org/docs/reconciliation.html#elements-of-different-types). Instead, move this component definition out of the parent component “Tooltip” and pass data as props
check_lint: packages/base/src/Tooltip/Tooltip.tsx#L181
Do not define components during render. React will see a new component type on every render and destroy the entire subtree’s DOM nodes and state (https://reactjs.org/docs/reconciliation.html#elements-of-different-types). Instead, move this component definition out of the parent component “Tooltip” and pass data as props