2. A minimal code example. If you've found a bug, this helps us reproduce and repair it.
3. Context. Why do you need to do this? We might know a better way to accomplish your goal.
4. The Cesium version you're using, your operating system and browser.
On cursory view, I did not see you using the npm package "cesium-react" (https://github.com/rot1024/cesium-react)
Is that a limited implementation of cesium? (Sorry I'm a complete noob to Cesium at the moment)