# Preview on builder.io isn't updating immediately

**URL:** <https://forum.builder.io/t/preview-on-builder-io-isnt-updating-immediately/4279>\
**Category:** Technical Questions\
**Tags:** nextjs\
**Created:** [October 5, 2023, 8:44am UTC](https://forum.builder.io/t/preview-on-builder-io-isnt-updating-immediately/4279 "2023-10-05T08:44:58Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![SelvaPrasath](https://avatars.discourse-cdn.com/v4/letter/s/13edae/32.png) [@SelvaPrasath](https://forum.builder.io/u/SelvaPrasath)\
**Post date:** [October 5, 2023, 8:44am UTC](https://forum.builder.io/t/preview-on-builder-io-isnt-updating-immediately/4279/1 "2023-10-05T08:44:58Z")

</div>

I want to integrate builder on a landing page with some data. Say I am trying to edit a text on builder. I am not able to see the change in [builder.io](http://builder.io) unless and until I publish it. I have followed the documentation specified in the builder integration docs.  
But I have followed this way of integration without following the automated integration.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/builder/original/2X/d/db584c9d4c5eb2a29dfdcf7c28c5178b64fdc9d3.png)

Attaching the video link here:

> **[Screen Recording 2023-10-05 at 1.47.21 PM.mov](https://drive.google.com/file/d/14Vb4isLs0MY4At562Ytu8JpB_8-Pgfuh/view?usp=sharing)**
>
> Google Drive file.

NextJS

Can you let me know if I am missing anything. Thanks

---

<div class="post-metadata">

**Author:** ![OmPrakash](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.builder.io/omprakash/32/2751_2.png) [@OmPrakash](https://forum.builder.io/u/OmPrakash)\
**Post date:** [October 5, 2023, 10:16am UTC](https://forum.builder.io/t/preview-on-builder-io-isnt-updating-immediately/4279/2 "2023-10-05T10:16:24Z")

</div>

Hello @SelvaPrasath,

Thank you for reaching out and providing the details, including the recording. We appreciate your proactive approach in addressing this issue. To assist you effectively, we kindly request the following information:

1. A snippet of your package.json, including details such as the NextJS version and [Builder.io](http://Builder.io) version.
2. Folder structure.
3. The code snippet related to the [Builder.io](http://Builder.io) integration.

Also, could you let us know if this issue is persistent to the specific page or occurs on other pages as well?

Thank you for your cooperation.

---

<div class="post-metadata">

**Author:** ![SelvaPrasath](https://avatars.discourse-cdn.com/v4/letter/s/13edae/32.png) [@SelvaPrasath](https://forum.builder.io/u/SelvaPrasath)\
**Post date:** [October 5, 2023, 10:24am UTC](https://forum.builder.io/t/preview-on-builder-io-isnt-updating-immediately/4279/3 "2023-10-05T10:24:16Z")

</div>

Hi @OmPrakash  
Pls find the package.json file below

 ![image](https://us1.discourse-cdn.com/flex020/uploads/builder/original/2X/e/ef8ef708685ef1de6a4307c15d9e36ea99709eda.png)

the image for the folder structure is

 ![image](https://us1.discourse-cdn.com/flex020/uploads/builder/original/2X/6/60674fcddf9f54faaf729521f5938d30cb29ae74.jpeg)

builder.tsx file:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/builder/original/2X/e/e87cb707de32cb83eca5598194e6c074855e868a.png)

page.tsx file under [[…page.tsx]]

 ![image](https://us1.discourse-cdn.com/flex020/uploads/builder/original/2X/3/3b93b771e43adb8e1a32563eaffcf1404c0b34b1.jpeg)

This occurs across all the pages.

---

<div class="post-metadata">

**Author:** ![OmPrakash](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.builder.io/omprakash/32/2751_2.png) [@OmPrakash](https://forum.builder.io/u/OmPrakash)\
**Post date:** [October 9, 2023, 3:44pm UTC](https://forum.builder.io/t/preview-on-builder-io-isnt-updating-immediately/4279/4 "2023-10-09T15:44:31Z")

</div>

Thank you for sharing the details; it’s rather unusual. We will investigate and get back to you.

---

<div class="post-metadata">

**Author:** ![OmPrakash](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.builder.io/omprakash/32/2751_2.png) [@OmPrakash](https://forum.builder.io/u/OmPrakash)\
**Post date:** [October 13, 2023, 8:01am UTC](https://forum.builder.io/t/preview-on-builder-io-isnt-updating-immediately/4279/5 "2023-10-13T08:01:55Z")

</div>

We haven’t been able to replicate it yet, it seems specific to your space. But not sure yet, we might need to do more digging on that.

The below is my package JSON snippet

```auto
"dependencies": {
    "@builder.io/dev-tools": "^0.1.24",
    "@builder.io/react": "^3.0.14",
    "@builder.io/sdk": "^2.0.8",
    "next": "13.5.4",
    "react": "^18",
    "react-dom": "^18"
  },
  "devDependencies": {
    "@types/node": "^20",
    "@types/react": "^18",
    "@types/react-dom": "^18",
    "eslint": "^8",
    "eslint-config-next": "13.5.4",
    "typescript": "^5"
  }

```

Is the issue occurring on other spaces as well?

---

<div class="post-metadata">

**Author:** ![SelvaPrasath](https://avatars.discourse-cdn.com/v4/letter/s/13edae/32.png) [@SelvaPrasath](https://forum.builder.io/u/SelvaPrasath)\
**Post date:** [October 13, 2023, 12:19pm UTC](https://forum.builder.io/t/preview-on-builder-io-isnt-updating-immediately/4279/6 "2023-10-13T12:19:47Z")

</div>

Appreciate @OmPrakash on your follow up on finding the root cause but unfortunately the issue still remains the same.  
And Yes it occurs for other spaces as well. That is only for this code repository. I have tried with React app for another space it worked as expected (changes in the [builder.io](http://builder.io) ui when I drag and drop). Ideally this issue only exist in next js across all spaces I see.

---

<div class="post-metadata">

**Author:** ![OmPrakash](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.builder.io/omprakash/32/2751_2.png) [@OmPrakash](https://forum.builder.io/u/OmPrakash)\
**Post date:** [October 13, 2023, 1:54pm UTC](https://forum.builder.io/t/preview-on-builder-io-isnt-updating-immediately/4279/7 "2023-10-13T13:54:12Z")

</div>

Thank you for your understanding, @SelvaPrasath . I’ve tested the Next.js example app from our public repository [here](https://github.com/BuilderIO/builder/tree/main/examples/next-js-simple), and it appears to be functioning correctly.

Would you be willing to give it a try, using your API key, and let us know if it works for you as well? If it does, you might consider comparing the implementation differences, which could help us pinpoint the issue more precisely.
