Add docs and further stress tests to the demo

This commit is contained in:
2026-07-21 17:56:58 +10:00
parent 9af84760fa
commit 92c61abcfe
15 changed files with 752 additions and 14 deletions

View File

@@ -0,0 +1,16 @@
<script setup lang="ts">
const requestedAt = Date.now()
await new Promise((resolve) => window.setTimeout(resolve, 1_000))
const resolutionTime = Date.now() - requestedAt
</script>
<template>
<article class="lab-probe lab-probe--ready" data-testid="async-data-ready">
<span class="lab-probe__icon" aria-hidden="true"></span>
<div>
<strong>Async payload available</strong>
<p>Resolved {{ resolutionTime }} ms after this component mounted.</p>
</div>
</article>
</template>