awinogrodzki / next-firebase-auth-edge

Next.js Firebase Authentication for Edge and Node.js runtimes. Compatible with latest Next.js features.
https://next-firebase-auth-edge-docs.vercel.app/
MIT License
522 stars 44 forks source link

[Info] New NextJS feature - Request Interceptors #262

Open steve-marmalade opened 1 month ago

steve-marmalade commented 1 month ago

Hi @awinogrodzki :wave:

I just saw that NextJS is making some investments in middleware, as detailed on Twitter and in the Draft PR for Request Interceptors. I'm not sure if/how this library can benefit from these changes, but figured I'd share in case it interests you.

awinogrodzki commented 1 month ago

Hey @steve-marmalade!

Thanks for a heads up! 🙇

That's quite exciting news in terms of improving TTFB/FCP. I'll keep an eye on this one and once it's released I'll prepare some implementation for authInterceptor