Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    React 19 compatibility issue – element.ref access error in SmartClient ReactComponent

    After upgrading to React 19, we are encountering a runtime issue inside SmartClient React integration.

    The error appears when calling:
    Code:
    const button = this.loadButtonRef.current?.getSCComponent();
    Error message
    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.
    Stack trace
    ReactComponent.js:261
    ReactComponent.js:326
    ReactComponent.js:328
    ReactComponent.js:218
    ReactComponent.js:66
    <ToolStrip>
    render OnlineUsers.js:115
    Version v13.1p_2026-03-13/Pro Deployment (2026-03-13)
Working...
X