Skip to content

Reverse middleware execution order #1360

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 20, 2021
Merged

Reverse middleware execution order #1360

merged 1 commit into from
Aug 20, 2021

Conversation

shuding
Copy link
Member

@shuding shuding commented Aug 20, 2021

Middleware should be wrapped and executed from the outside to the inside.

@shuding shuding requested a review from huozhi as a code owner August 20, 2021 21:28
@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit bac1f36:

Sandbox Source
SWR-Basic Configuration
SWR-States Configuration
SWR-Infinite Configuration
SWR-SSR Configuration

@shuding shuding merged commit 2e1fd12 into master Aug 20, 2021
@shuding shuding deleted the invert-middleware-order branch August 20, 2021 21:29
@shuding
Copy link
Member Author

shuding commented Aug 20, 2021

Will come up with a diagram in the docs to explain this carefully.

@shuding shuding changed the title Invert middleware execution order Reverse middleware execution order Aug 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant