# Anybody ever get Cesium working inside of a create-react-app setup? Hopefully without "ejecting" ?

**URL:** <https://community.cesium.com/t/anybody-ever-get-cesium-working-inside-of-a-create-react-app-setup-hopefully-without-ejecting/6762>\
**Category:** CesiumJS\
**Created:** [April 4, 2018, 7:50pm UTC](https://community.cesium.com/t/anybody-ever-get-cesium-working-inside-of-a-create-react-app-setup-hopefully-without-ejecting/6762 "2018-04-04T19:50:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![webdoood](https://avatars.discourse-cdn.com/v4/letter/w/5fc32e/32.png) [@webdoood](https://community.cesium.com/u/webdoood)\
**Post date:** [April 4, 2018, 7:50pm UTC](https://community.cesium.com/t/anybody-ever-get-cesium-working-inside-of-a-create-react-app-setup-hopefully-without-ejecting/6762/1 "2018-04-04T19:50:01Z")

</div>

1. A concise explanation of the problem you're experiencing.

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.

---

<div class="post-metadata">

**Author:** ![Mark\_Erikson](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/mark_erikson/32/2024_2.png) [@Mark\_Erikson](https://community.cesium.com/u/Mark_Erikson)\
**Post date:** [April 4, 2018, 8:36pm UTC](https://community.cesium.com/t/anybody-ever-get-cesium-working-inside-of-a-create-react-app-setup-hopefully-without-ejecting/6762/2 "2018-04-04T20:36:10Z")

</div>

Yes, you can use Cesium with CRA, but to my knowledge it still requires ejecting or using a tool like react-app-rewired to override parts of the config.

I specifically wrote a post showing what to add Cesium to a CRA app : [http://blog.isquaredsoftware.com/2017/03/declarative-earth-part-1-cesium-webpack/](http://blog.isquaredsoftware.com/2017/03/declarative-earth-part-1-cesium-webpack/)

---

<div class="post-metadata">

**Author:** ![webdoood](https://avatars.discourse-cdn.com/v4/letter/w/5fc32e/32.png) [@webdoood](https://community.cesium.com/u/webdoood)\
**Post date:** [April 4, 2018, 11:27pm UTC](https://community.cesium.com/t/anybody-ever-get-cesium-working-inside-of-a-create-react-app-setup-hopefully-without-ejecting/6762/3 "2018-04-04T23:27:50Z")

</div>

Thanks for taking the time to write that blog posting!  
I will soon start working my way through it.

On cursory view, I did not see you using the npm package "cesium-react" ([https://github.com/rot1024/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)

---

<div class="post-metadata">

**Author:** ![Mark\_Erikson](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/mark_erikson/32/2024_2.png) [@Mark\_Erikson](https://community.cesium.com/u/Mark_Erikson)\
**Post date:** [April 5, 2018, 3:31pm UTC](https://community.cesium.com/t/anybody-ever-get-cesium-working-inside-of-a-create-react-app-setup-hopefully-without-ejecting/6762/4 "2018-04-05T15:31:33Z")

</div>

No, I haven’t used that yet. There was a post on the Cesium blog about it a couple months ago, though. It provides React components that help simplify the process of setting up the Cesium globe and rendering some items on there. As you can see in part 2 of my post ( [http://blog.isquaredsoftware.com/2017/03/declarative-earth-part-2-cesium-react/](http://blog.isquaredsoftware.com/2017/03/declarative-earth-part-2-cesium-react/) ) , I’ve done a more “manual” approach to wrapping up Cesium logic in React components. If you’re just getting started, though, that cesium-react library might be a good choice.

---

<div class="post-metadata">

**Author:** ![nswim582](https://avatars.discourse-cdn.com/v4/letter/n/54ee81/32.png) [@nswim582](https://community.cesium.com/u/nswim582)\
**Post date:** [April 9, 2018, 9:56pm UTC](https://community.cesium.com/t/anybody-ever-get-cesium-working-inside-of-a-create-react-app-setup-hopefully-without-ejecting/6762/5 "2018-04-09T21:56:12Z")

</div>

A few days ago I used create-react-app, ejected, and followed these instructions:  
[https://cesiumjs.org/tutorials/cesium-and-webpack/](https://cesiumjs.org/tutorials/cesium-and-webpack/) ... a few changes were necessary but not much.
