chungweileong94 / server-act

A simple React server action builder
MIT License
20 stars 1 forks source link

Support middleware #2

Closed chungweileong94 closed 1 year ago

chungweileong94 commented 1 year ago

Allow middleware (simple function) to be called before the server action, and its return value will be pass to the server action as context.

stackblitz[bot] commented 1 year ago

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

changeset-bot[bot] commented 1 year ago

🦋 Changeset detected

Latest commit: da12c710c5b6386e7c37bd0d4088bff0116be242

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ---------- | ----- | | server-act | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR