# How to make a React.js-based page within Discourse that only re-uses its header and session?

**URL:** <https://meta.discourse.org/t/how-to-make-a-react-js-based-page-within-discourse-that-only-re-uses-its-header-and-session/46927>\
**Category:** Development\
**Created:** [7 Julio, 2016 02:47 UTC](https://meta.discourse.org/t/how-to-make-a-react-js-based-page-within-discourse-that-only-re-uses-its-header-and-session/46927 "2016-07-07T02:47:30Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![meglio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/meglio/32/71444_2.png) [@meglio](https://meta.discourse.org/u/meglio)\
**Post date:** [7 Julio, 2016 02:47 UTC](https://meta.discourse.org/t/how-to-make-a-react-js-based-page-within-discourse-that-only-re-uses-its-header-and-session/46927/1 "2016-07-07T02:47:30Z")

</div>

I would like to create a page under the Discourse’s main domain, for example:

[https://meta.discourse.org/my-page](https://meta.discourse.org/my-page)

I’d like this page to get full access to Discourse js environment, but only show the main header:

 ![](https://global.discourse-cdn.com/meta/original/3X/1/d/1d142f1a10de9aa922e564327588074f838893de.png)

Under the header, I’d like a React container with my own custom JS code.

Question:

1. How can I do it without making a custom plugin for Discourse, but by only providing custom JS scripts in admin panel?
2. I’ll need to still keep the Discourse header live
3. Will I be able to subscribe to Discourse streaming API without using Ember?

As you can understand, the whole goal for me here is to make a custom page with the native Discourse header, but with using React.js and not touching Ember.js at all.

Any advice appreciated!

---

_[View the full topic](https://meta.discourse.org/t/how-to-make-a-react-js-based-page-within-discourse-that-only-re-uses-its-header-and-session/46927)._
