Szymon Janota

Results 4 comments of Szymon Janota

I was trying to write a simple authentication middleware, similar to JWT. I was able to write to middleware without a problem but I was stuck on how to safely...

No, I made it a global middleware. I'll play with the Effect approach later today.

Took me a while, but I'm back on this. So, I've declared my custom request and middleware like this: ``` type AuthedHttpRequest = HttpRequest & { session: Session } const...

I pressed "Comment" one test too early :D. I noticed that both `use` and `useEffect` return `IxBuilder` parametrized with `HttpRequest` as the last parameter. After I changed that to the...