Skip to content

Commit ab5820f

Browse files
committed
Grammar and formatting
1 parent 1036419 commit ab5820f

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

docs/MIDDLEWARE.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -321,13 +321,15 @@ Their main differences:
321321
322322
### Priorities in polymiddleware
323323
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.
325325
326-
| Priority | Type | Description |
327-
| -------- | ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
328-
| 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.
332327
333-
Priorities is used internally and will not expose as a feature.
328+
The following table shows how polymiddleware are prioritized.
329+
330+
| Priority | Type | Description |
331+
| -------- | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
332+
| 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

Comments
 (0)