Skip to content

Commit d69b9b0

Browse files
committed
docs(readme): document bounded retry backoff behavior
1 parent 6f967cb commit d69b9b0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ export const LazyChart = reactify$({
120120
The component module is loaded only when the client strategy fires. On the server the optional `component` reference is used for SSR; on the client the QRL triggers a dynamic import.
121121

122122
Serialized props are written to `data-fict-react-props` on the host element, making the island fully resumable from server-rendered HTML.
123+
If lazy module loading fails transiently, `reactify$` retries with bounded exponential backoff (base 100ms, capped at 5s, max 5 failures).
123124

124125
### 5. Static Islands (Loader)
125126

@@ -150,6 +151,7 @@ const cleanup = installReactIslands({
150151
```
151152

152153
The loader uses `MutationObserver` to detect new island hosts and attribute changes. Updating `data-fict-react-props` on a mounted host triggers a React re-render. Changing the QRL (`data-fict-react`) disposes the old root and mounts a fresh one.
154+
When component module loading fails transiently, the loader also retries with the same bounded exponential backoff policy.
153155

154156
### 6. Serializable Actions
155157

0 commit comments

Comments
 (0)