InsightSoftwareConsortium / InsightSoftwareConsortium/ITK-Wasm
Itk.js support in react
- Dominant language
- Python
- Stars
- 235
- Forks
- 61
- Avg merge
- 4d 19h
- Merged PRs (30d)
- 4
Description
I am referring to this [example](https://github.com/Kitware/itk-vtk-viewer/blob/ddc38926657cadfa38280ab4da4e45ca7c482a61/src/processFiles.js#L15-L24) for creating a dicom image viewer on the web. Now in this example after reading the dicom file using itk.js readImageFile, the function call :
```
createViewer(container, {
image: imageData,
use2D: !is3D,
})
```
is heaviely dependent on dom interaction. [here](https://github.com/Kitware/itk-vtk-viewer/blob/ddc38926657cadfa38280ab4da4e45ca7c482a61/src/createViewer.js) is the code for createViewer.
Is there any way I can implement this in react? Also, I am not able to find the proper documentation for itk.js react.
Contributor guide
Assessment
This issue has not been assessed yet.