-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
docs: add custom-middleware.md #3136
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
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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. |
@GeoDaoyu should follow the format of api docs:
This looks like you copy/paste the code from README.md file |
follow the format of api docs: add navigation links & types signature & examples & troubleshooting
I add the missing section. Please check❤️ |
@GeoDaoyu still missing some parts I don't see how someone can use this guide to create a custom middleware and doesn't seems that fits into the api docs |
Where should it be placed if it doesn't seems that fits into the api docs? |
@GeoDaoyu should be under guides and the goal should be a guide that takes you through all the steps needed to create a custom middleware. Note A custom middleware guide could be the most complex guide in Zustand docs |
Ok. I'll move it under guides later. I'll do my best to finish it through it might be the most complexed. |
@dbritto-dev I rewrite it under the guides. |
Related Bug Reports or Discussions
Discussions #2732 & #1770
Summary
Check List
pnpm run fix
for formatting and linting code and docs