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
498 stars 43 forks source link

[Info] New NextJS feature - Request Interceptors #262

Open steve-marmalade opened 2 days ago

steve-marmalade commented 2 days 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 2 days 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