I was trying to load cesium into a react skeleton, and I was running into several issues. I installed cesium with npm, but I couldn’t get Cesium to load with require. Plus I was exactly sure how to load cesium within a component, although I had several ideas that I thought would have worked. I ended up getting the Viewer to load, but ran into a error deep down in the Viewer constructor( this._dataSourceAdded is not a function line 675 ). After finding that error, I decided to load the CesiumWidget and I was able to finally get the load correctly. I saw the information about Aditya Raisinghani’s project, but it doesn’t look like that project is open source.
Has anyone successfully loaded the cesium viewer into a react component?