How to use Cesium with React without using the Resium library

Hi I am just wondering is there any tutorial on how to integrate native CesiumJS into react? I do not want to use the resium library on the github since I prefer using the original CesiumJS. Any input is greatly appreciated! Thanks

Hey, that’s my repo and blog post! :slight_smile:

Having said that, I would in all seriousness recommend using Resium. My post shows how to start wrapping some Cesium functionality into React components by hand, but Resium has already done all that work for you, and their library has some good documentation on how to use it.

If you’re using Create-React-App, the same folks behind Resium also have a CRA override plugin at https://github.com/darwin-education/craco-cesium that makes it easy to modify CRA’s config to enable including Cesium correctly.

1 Like