After upgrading to React 19, we are encountering a runtime issue inside SmartClient React integration.
The error appears when calling:
Error message
Stack trace
Version v13.1p_2026-03-13/Pro Deployment (2026-03-13)
The error appears when calling:
Code:
const button = this.loadButtonRef.current?.getSCComponent();
Accessing element.ref was removed in React 19. ref is now a regular prop.
It will be removed from the JSX Element type in a future release.
It will be removed from the JSX Element type in a future release.
ReactComponent.js:261
ReactComponent.js:326
ReactComponent.js:328
ReactComponent.js:218
ReactComponent.js:66
<ToolStrip>
render OnlineUsers.js:115
ReactComponent.js:326
ReactComponent.js:328
ReactComponent.js:218
ReactComponent.js:66
<ToolStrip>
render OnlineUsers.js:115