Viewers icon indicating copy to clipboard operation
Viewers copied to clipboard

React 17 support

Open scheiblr opened this issue 3 years ago • 4 comments

First of all I'd like to thank you for this amazing project!

The React components you released are based and dependent on React 16 of which the last version was released on October 14, 2020. On October 20, 2020, React 17 was released and on March 22, 2021 its latest version. In order to make your components compatible with the most recent version of React and therefore capable of being integrated and used with recent software components outside of the XNAT application. Are there already any plans for such an update?

scheiblr avatar Jan 21 '22 12:01 scheiblr

+1

xmhealth avatar Jan 28 '22 14:01 xmhealth

It looks like the next version OHIF-v3 will be using React 17, see https://github.com/OHIF/Viewers/blob/v3-stable/platform/ui/package.json#L27-L28

pwespi avatar Jan 28 '22 16:01 pwespi

Thank you for that hint! Does anybody know when that version will be released?

scheiblr avatar Jan 31 '22 09:01 scheiblr

Can you help please with configuration OhifViewer for remote XNAT server

I've create React component with

    ohifViewerConfig = {
servers: {
      dicomWeb: [
        {
          name: 'DCM4CHEE',
          wadoUriRoot: 'https://server.dcmjs.org/dcm4chee-arc/aets/DCM4CHEE/wado',
          qidoRoot: 'https://server.dcmjs.org/dcm4chee-arc/aets/DCM4CHEE/rs',
          wadoRoot: 'https://server.dcmjs.org/dcm4chee-arc/aets/DCM4CHEE/rs',
          qidoSupportsIncludeField: true,
          imageRendering: 'wadors',
          thumbnailRendering: 'wadors',
          enableStudyLazyLoad: true,
        },
      ],
    },
}
    installViewer(ohifViewerConfig, containerId, componentRenderedOrUpdatedCallback);

It works, but cant find any example with XNAT server connection

Adviser-ua avatar May 27 '22 11:05 Adviser-ua

It is not a priority for now as it will be a significant change. is there anything specific in React 17 that you like?

sedghi avatar Oct 13 '23 13:10 sedghi