Does anyone have a good way to avoid opting out of caching when reading headers/cookies?
Cache-Control response header to something that allows caching?
From what I understand, if you use a dynamic function within a route, Next will opt you out of caching and there's no way to tell it that you can cache responses using one of those headers/cookies as part of the cache key, knowing that your response is unique to that value....setting state param in nextauth
state query key to oauth providers instead of having nextauth set it automatically? I'm using Auth0 so I need my custom state value sent to the /authorize endpoint and returned back to my callbackAdd trpc to app. How bundlesize is affected
Await server onUploadComplete hook on the client.
onUploadComplete hook in UT router and only once it's done resolve startUpload promise on the client?
In my app a user can leave a review with an image attached - first client sends a request with review data and it gets saved to the database, once that resolves client starts an image upload and in the onUploadComplete hook on the server I update the db review row with a newly created file key.
Problem is - I would like to refetch review data on the client to sync it with the server once data is successfully updated. But there doesn't seem to be a mechanism to await until onUploadComplete resolves and so what I got is a race condition if a client's sync request will be after(good) or before(bad) hook updates my db with new file key.
Code more or less looks like this.
```...how can i declare *.d.ts modules in assets/js/ folder and and import them as modules in my component
need a good redis hosting service
Importing npm packages in Deno
tRPC useQuery() or useMutation()
uploadthing: attaching metadata not working
uploadthing.uploadFilesFromUrl but I don't see them stored anywhere. This is how I'm using the function, it's a very simple code.
await utapi.uploadFilesFromUrl(imagePath, { foo: 'bar' });
await utapi.uploadFilesFromUrl(imagePath, { foo: 'bar' });
Lint MDX files in Astro project
TRPC's useContext does not invalidate query.
useContext is not working for me (using .refetch, .invalidate on utils does nothing):
I can confirm that onSuccess gets called. It also doesnt work even if I remove the enabled option. It invalidates when I put an override on createTRPCNext but I really don't want to invalidate all the queries in the cache.
```ts
const utils = trpc.useContext();...
Implementing Middleware
discord callback url

CMS based i18n
Drizzle with T3 and NextAuth
Using pusher with T3
Problem with my express toy app

Guide to extending t3 template?
Some of the conditions are omitted in middleware
tailwind error?