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:

const button = this.loadButtonRef.current?.getSCComponent();

Error message

Stack trace

Version v13.1p_2026-03-13/Pro Deployment (2026-03-13)

We’re looking into this now. We’ll update this thread when a nightly build with the fix is available.

A fix for this has now been applied back to SmartClient 13.1p and should be available for download (just grab the latest).