Uploaded May 2025 | Updated September 2026, 3 weeks ago
Middleware allows you to customize the behavior of server functions created with createServerFn with things like shared validation, context, and much more. Middleware can even depend on other middleware to create a chain of operations that are executed hierarchically and in order.
More in the official docs: tanstack.com/start/latest/docs/framework/react/middleware
TanStack Router Tutorial: youtube.com/playlist?list=PLOQjd5dsGSxJilh0lBofeY8Qib98kzmF5
TanStack Start Tutorial: youtube.com/playlist?list=PLOQjd5dsGSxIEKFg4dnSQ4zQkmTktfszp
_______________________________
Support my work: github.com/sponsors/Balastrong ❤️
Hit like and subscribe for more content! :D
Beginner-Friendly Open Source Projects: github.com/DevLeonardoCommunity
Join the Discord community! Here's the invite: discord.gg/bqwyEa6We6
You can also follow me on the other platforms:
Twitter: twitter.com/Balastrong
dev.to: dev.to/balastrong
GitHub: github.com/Balastrong
Home: https://leonardomontini.dev/
TikTok: tiktok.com/@balastrong
Instagram: instagram.com/devbalastrong
_______________________________
TIMESTAMPS
00:00 Introduction
00:19 Server Middleware
01:24 Client Middleware
02:25 Passing data between multiple middlewares
03:51 Full Demo
05:05 Returning an error from a server middleware
05:45 Global Middleware
06:18 TanStack Start + Query data loading
#tanstack #react #nextjs
Middleware allows you to customize the behavior of server functions created with createServerFn with things like shared validation, context, and much more. Middleware can even depend on other middleware to create a chain of operations that are executed hierarchically and in order.
More in the official docs: tanstack.com/start/latest/docs/framework/react/middleware
TanStack Router Tutorial: youtube.com/playlist?list=PLOQjd5dsGSxJilh0lBofeY8Qib98kzmF5
TanStack Start Tutorial: youtube.com/playlist?list=PLOQjd5dsGSxIEKFg4dnSQ4zQkmTktfszp
_______________________________
Support my work: github.com/sponsors/Balastrong ❤️
Hit like and subscribe for more content! :D
Beginner-Friendly Open Source Projects: github.com/DevLeonardoCommunity
Join the Discord community! Here's the invite: discord.gg/bqwyEa6We6
You can also follow me on the other platforms:
Twitter: twitter.com/Balastrong
dev.to: dev.to/balastrong
GitHub: github.com/Balastrong
Home: https://leonardomontini.dev/
TikTok: tiktok.com/@balastrong
Instagram: instagram.com/devbalastrong
_______________________________
TIMESTAMPS
00:00 Introduction
00:19 Server Middleware
01:24 Client Middleware
02:25 Passing data between multiple middlewares
03:51 Full Demo
05:05 Returning an error from a server middleware
05:45 Global Middleware
06:18 TanStack Start + Query data loading
#tanstack #react #nextjs





![Create a Pull Request from Visual Studio Code [1/3]
Did anyone say the word Productivity? 📈 Were all used to the GitHub UI so we usually navigate to GitHub, then search for our repository, and then click the button to create a Pull Request.
But did you know that you can do all of this from Visual Studio Code? In this video, well see how to create a Pull Request from Visual Studio Code in literally two clicks.
This video will also be the first of a trilogy 3️⃣ about the GitHub + Visual Studio Code workflow, you better stay tuned to see what else these two can do together ;)
Part 1: Create a PR https://youtu.be/Ma67EbIHi64 (this video)
Part 2: Review a PR https://youtu.be/DSl-L6B_Qb4
Part 3: Manage Issues https://youtu.be/-nfUgBLBTIo
Get the extension: https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-pull-request-github
Hit like and subscribe for more content! :D
Join the Discord community! Heres the invite: https://discord.gg/bqwyEa6We6
You can also follow me on the other platforms:
Twitter: https://twitter.com/Balastrong
dev.to: https://dev.to/balastrong
TikTok: https://www.tiktok.com/@balastrong
GitHub: https://github.com/Balastrong
Instagram: https://www.instagram.com/devbalastrong/
TIMESTAMPS
00:00 Preview
00:13 Install the extension
00:30 Review the changes
01:22 Title & Description
02:29 Labels
02:50 Fixing a bug in the extension
04:02 Create Pull Request
04:25 More features!
Sound effects from https://www.zapsplat.com
#vscode #github #opensource Create a Pull Request from Visual Studio Code [1/3]](https://i.ytimg.com/vi/Ma67EbIHi64/mqdefault.jpg)




