Dx improvements #45
ci-checks.yml
on: pull_request
yarn_install
12s
check_unit_tests
1m 6s
check_types
26s
check_lint
21s
check_docs_api
17s
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
|