# Page Refresh

This is particularly useful for dynamic content, ensuring that users see the most up-to-date information without needing to manually refresh the app.

<figure><img src="https://3731994945-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlBy5z08zL1UoCwNqmg%2Fuploads%2FkEMaput4NGAp90xinclD%2FScreenshot%202025-09-09%20at%207.04.56%E2%80%AFPM.png?alt=media&#x26;token=a09eafc1-5522-4162-8c7c-f4ecfd5370f9" alt=""><figcaption></figcaption></figure>

## How It Works

Twinr provides two options to keep your app screens updated:

1. **Tab Auto-Refresh**
   * When enabled, each tab in your app will reload automatically every time users switch between them.
   * By default, tabs are preloaded once and do not refresh when switching. Enabling this ensures users always see the latest information.
2. **Page Refresh Integration**
   * You can define **Element Identifiers** (e.g., `.et-cart-quantity`) that the app will monitor for changes.
   * Whenever the defined element changes, all related app screens automatically refresh to reflect the updated data.
   * Example: If a user adds an item to their cart, the cart screen refreshes to display the new total or updated item list.

## How to Enable?

**1.)** Go to **General Settings** from the left menu and select the **Page Refresh** tab.

**2.)** Toggle **Enable Tab Auto-Refresh** if you want tabs to reload every time users switch tabs.

**3.)** Toggle **Enable Page Refresh Integration** if you want the app to refresh screens when specific elements are updated.

**4.)** Add the required **Element Identifier(s)**.

* Example: `.et-cart-quantity`
* You can find the cart counter selector by inspecting the cart button on your website.

**5.)** Click **Save As a Draft** to save your changes.

{% file src="<https://3731994945-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlBy5z08zL1UoCwNqmg%2Fuploads%2FGLUUz9lD30omt14RlGtD%2FHow%20to%20Integrate%20Cart%20and%20Wishlist%20into%20your%20App%20_%20Easy%20as%20A%2C%20B%2C%20C%20with%20Twinr.mp4?alt=media&token=2a5a6e0d-d5cd-44f6-873e-e8a0ca8ffdeb>" %}

**3.)** Save as Draft and [Preview](https://help.twinr.dev/dashboard/preview-app).
