Prepare frontend apps for React 19 and React Compiler #46674
Labels
developer-experience
Addressing these issues will improve the experience of developers working on Teleport
effort:mid
Tasks which can be completed within a day or two.
value:high
Tasks which completion brings comparatively big benefits.
Upgrading the codebase to React 19 should allow us to enable React Compiler, which not only should make the app faster, but also remove the need to remember about
useCallback
anduseMemo
where it counts.Read through the upgrade guide, remember about codemods which should make some work much easier.
findDOMNode
usage.findDOMNode
inPopover/Transition.jsx
.bl-nero/tooltips
.<Transition>
is just one small component, so in theory we could extract a small PR from Bartosz's WIP that just removesfindDOMNode
from<Transition>
.findDOMNode
from ignored warnings.defaultProps
andpropTypes
from function components.The text was updated successfully, but these errors were encountered: