React 19 Upgrade - Performance Degradation in React 18 #484
Unanswered
powerdragonfire
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Wondered how backwards compatible Flexlayout-React is with React 18 in terms of performance. Can see its peerDependencies for React 18, however am noticing significantly more re-renders and lags with the recent major upgrade.
For instance, I've only recently noticed the use of Action.updateNodeAttributes, since currently I have a button that toggles tab strip globally using model.toJson, and setting a state passed back to parent using ref (and forwardRef). Reason for this is using this library since v0.5 when Actions wasn't supported. I know naturally this does trigger more re-renders than necessary, however wasn't as bad in previous v0.7 using React 18.
Therefore given that React 19 has phased out the use of forwardRef, has anyone using React 18 encountered similar performance issues? It would also be useful to comment on if the plan would eventually be for React 18 backwards compatibility to be phased out.
Thanks a lot love the work put into this project!❤️
Beta Was this translation helpful? Give feedback.
All reactions