# Issue with react component embedding an older version of react

**URL:** <https://forums.nylas.com/t/issue-with-react-component-embedding-an-older-version-of-react/613>\
**Category:** Question and Answers\
**Tags:** scheduler\
**Created:** [January 8, 2025, 9:28pm UTC](https://forums.nylas.com/t/issue-with-react-component-embedding-an-older-version-of-react/613 "2025-01-08T21:28:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thpica](https://avatars.discourse-cdn.com/v4/letter/t/c5a1d2/32.png) [@thpica](https://forums.nylas.com/u/thpica)\
**Post date:** [January 8, 2025, 9:28pm UTC](https://forums.nylas.com/t/issue-with-react-component-embedding-an-older-version-of-react/613/1 "2025-01-08T21:28:00Z")

</div>

I am trying to add the `NylasSchedulerEditor` from `@nylas/react` to my next.js app with react 19.  
I am copied the code from [quickstart-v3-scheduler-nextjs/src/pages/scheduler-editor.tsx at main · nylas-samples/quickstart-v3-scheduler-nextjs · GitHub](https://github.com/nylas-samples/quickstart-v3-scheduler-nextjs/blob/main/src/pages/scheduler-editor.tsx) only removing the font references.  
I am getting the following runtime error:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/nylas3/original/1X/0c07f44bb799d098b1a137eb161298cb79310cf5.png)

What workaround should I consider?  
Why does `@nylas/react` embed react?

---

<div class="post-metadata">

**Author:** ![ram](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.nylas.com/ram/32/3_2.png) [@ram](https://forums.nylas.com/u/ram)\
**Post date:** [January 15, 2025, 6:32pm UTC](https://forums.nylas.com/t/issue-with-react-component-embedding-an-older-version-of-react/613/2 "2025-01-15T18:32:00Z")

</div>

Hi @thpica - thanks for posting and following up, let me take a look and get back to you.

---

<div class="post-metadata">

**Author:** ![ram](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.nylas.com/ram/32/3_2.png) [@ram](https://forums.nylas.com/u/ram)\
**Post date:** [January 29, 2025, 8:50pm UTC](https://forums.nylas.com/t/issue-with-react-component-embedding-an-older-version-of-react/613/3 "2025-01-29T20:50:34Z")

</div>

Hi @thpica - just an update, shared this with Eng to track and follow up.
