Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProWhen an upload fails the file retries by itself after 2, 4 and 8 seconds, shows "Retrying in 4s (attempt 2 of 3)" with Retry now and Stop buttons, and gives up with a clear message. Use this when failures are usually temporary and people should see that something is being done.
Derived from this item’s props table, because it declares no controls of its own. This item has no standalone playground, so changes update the code, the share link and the AI prompt.
Uploads fail mostly from flaky networks and an automatic retry is better than an error and a button.
Do not use it when: Do not retry failures that will never succeed (403, 413); show them at once.
This item is part of tealmac UI Pro
The source for this item installs with a Pro licence key. Log in with your key to see the install command, or read the Pro setup page.
| Prop | Type | Default | Description |
|---|---|---|---|
upload | Uploader | flaky demo | The transport. |
maxRetries | number | 3 | Automatic retries before giving up. |
baseSeconds | number | 2 | First wait; each wait doubles. |
backoffSeconds(failures, base) is exported.
The pattern ships with a Testing Library test (upload-retry-backoff-countdown.test.tsx) that covers: its main behaviour, the keyboard path and the error or empty states.