Skip to main content

Does Mida Support Single Page Application (SPA)?

Updated over a week ago

Mida is built to work with how modern web apps behave.

Frameworks like Next.js, React, Ember, and Vue often update the page without a full reload. Mida detects in-app navigation and view changes automatically, so experiments load and persist correctly as users move through your app.

There is no additional installation or special setup required beyond the standard Mida snippet.

For single-page applications, Mida includes built-in features that ensure tests run at the right time:

  • URL change triggers to load tests when routes change

  • DOM change monitoring to run tests when specific elements appear

  • Custom JavaScript conditions for full control over when tests run

You can create experiments using the visual editor, while Mida handles SPA behavior in the background, including logged-in areas and dashboards.

Did this answer your question?