TL;DR
For SPAs (React, Vue, Angular): Use ExperimentHQ for visual tests with SPA support, or PostHog/Statsig for code-based experiments. SPA challenges: route changes without reload, dynamic content, hydration. Visual editors may be unreliable—consider code-based testing for complex SPAs.
SPA-Specific Challenges
Route changes without page reload
Solution: Tools must detect SPA navigation events
Dynamic content loading
Solution: Mutation observers to detect DOM changes
Virtual DOM frameworks
Solution: Visual editors may not work reliably
Hydration issues
Solution: Server-side testing or careful timing
Tool Comparison
| Tool | SPA Support | Visual Editor | Verdict |
|---|---|---|---|
| ExperimentHQ | Best Overall | ||
| PostHog | — | Best with Analytics | |
| Statsig | — | Best SDK | |
| VWO | Enterprise |
Our Recommendation
For SPAs: Try ExperimentHQ first for visual tests. If visual editor doesn't work well with your framework, switch to code-based testing.