You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/MIDDLEWARE.md
+10-8Lines changed: 10 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -321,13 +321,15 @@ Their main differences:
321
321
322
322
### Priorities in polymiddleware
323
323
324
-
While we try to hide and internalize priorities between polymiddleware, there are special cases that prioritization would help. The following table shows how polymiddleware are prioritized.
324
+
> Priorities is used internally and will not expose as a feature.
| Highest | Error boundary | <p>All polymiddleware has an error boundary wrapper to control error propagation.</p><p>Error will be rendered using the `ErrorBox` polymiddleware.</p> |
329
-
| Normal | `polymiddleware` props | Polymiddleware passed to `polymiddleware` prop. |
330
-
| Low | Legacy middleware props | Legacy middleware passed to their corresponding prop (such as `activityMiddleware`) and upgraded automatically. |
331
-
| Lowest | Catch-all as error | Requests not handled by any polymiddleware in the chain will thrown as error. |
326
+
While we try to hide and internalize priorities between polymiddleware, there are special cases that prioritization would help.
332
327
333
-
Priorities is used internally and will not expose as a feature.
328
+
The following table shows how polymiddleware are prioritized.
| Highest | Error boundary | <p>All polymiddleware has an error boundary wrapper to control error propagation.</p><p>Error will be rendered using the `ErrorBox` polymiddleware.</p> |
333
+
| Normal | Polymiddleware | Polymiddleware passed to the `polymiddleware` prop. |
334
+
| Low | Legacy middleware | Legacy middleware passed to their corresponding prop (such as `activityMiddleware`) and upgraded automatically. |
335
+
| Lowest | Catch-all as error | Requests not handled by any polymiddleware in the chain will be thrown as an error. |
0 commit comments