t3chat seems to have an error on this prompt, why could this be happening?
i have a free account and this is the chatgpt 4o mini model.

Question about DNS
Hey, I was setting up a DNS server for private use.
My question is if anybody knows how to use the DNS trough a vpn that is installed on another device on the network the DNS is in.
Thanks in advance...
Prevent router.refresh() from remounting client components
I have the following logic:
1) Fetch data in SSR layout, pass to Client Component
2) In Client Component,
useEffect(() => { ... }, []);
with empty dependencies for rendering only once upon component mount. This effect checks if the passed data from the layout is valid, if it isn't, make an API request with client-side infos (need to set cookies, save ip and guest session in database). If the API request succeeds, get valid data from SSR layout with router.refresh()
.
...Deploying Bun Websocket Server
After watching Theo’s latest video about Bun, I was inspired to play around with it and wanted to test deploying a Bun Websocket server. Does anyone have recommendations on deploying and hosting a server like this? I was investigating Fly.io but I’m interested to hear recommendations. Also, if Theo has any relevant affiliate links or promos, I’d be open to check them out. Thanks in advance!
Customizing/ Making custom UploadThing dropzone
Hey yall, trying to use UploadThing for my app. I'd love to be able to fully customize it, and i saw there's some helpful parts in the docs describing how to do most of this. I'd love to add my own custom svg instead of the traditional uploadthing cloud icon. Should I just make my own dropzone and then send it to the ut api or is there a way to change out the icon?
Cloudflare secrets
anyone know if its possible to have env variables not in wrangler.toml file and use the default cloudflare workers cicd deploy?
Do you really need an ORM?
I'm designing a Next app with a postgres DB in supabase, and want to use tRPC so I have some methods I can share to other apps I might make in future (using React Native or something).
I've got the db defined in supabase - there's a bunch of tools that make that super easy - then I can use supabase typegen to make the requisite types. Then I can create tRPC methods using those types.
So what's the use in an ORM like prisma or drizzle? What is it adding?...
Best Practices for Managing High-Quality Product Images in a Catalog/E-commerce Website
I'm developing a product catalog website that will eventually transition into an e-commerce platform. Current specifications:
- 13 products
- 4-6 high-quality images per product
- Images already optimized using AVIF format with WebP fallback...
what should i unit test and what shouldn't I?
Hi, a dev new to unit testing here! I'm wondering if, in a typescript project, should i test functions against runtime or not.
example:
```ts
function iReceiveAString(arg:string){...
How to handle both "image/x-icon" and "image/vnd.microsoft.icon"
This thing has been driving me crazy, how do you guys validate or limit accepts here? Do i really need to create a custom button / dropzone for it?
Solution:
found out how to do it, my syntax was just wrong
correct way:
```...
Has upload to Uploadthing but does not return
Even though it was uploaded to storage, it took a long time to load and did not return
Extension to check tech sack
What tool does theo use to check a website's tech stack. I saw him use an extension in one of his videos but can't remember which one. Does anyone here know? Thanks
quick question about the rules
with rule #6, where it says not to add friends, is there an exception where the other person wants to be friends, or do you mean just not to spam friend requests? thanks!
pnpm build fails after create t3-app
I did
pnpm create t3-app@latest qqq --CI --noGit --trpc --drizzle --nextAuth --tailwind --dbProvider postgres
cd qqq
Filled in .env,
pnpm db:push
...what's a good way to add a blog to my friend's site
i'm making my friend a portfolio, and i want to add a blog with auth keeping it free/cheap as humanly possible.
What's a good way to go about this.
Also this is my first nextjs ui. so roast, give feedback, w/e :3
https://jacobkemblemusic.com/...
NextJS dynamic routes with „use cache“ and dynamicIO - examples?
Hi everyone 😃
Does anyone have an example with an cached dynamic route in the new dynamicIO way of doing it?
Even though I saw an issue on GitHub, I can’t believe it’s in general not possible.
I basically need a very common example for something like a blog....
React error
Hi everyone!
I’m facing the following error when I click a custom “Save Changes” button in my React app: “Uncaught Error: A React form was unexpectedly submitted.”
The button programmatically submits a form using form.submit() in the onClick handler. The form is a React component with an action tied to a server function....
Zustand question
```ts
const useStore = create((set) => ({
count: 0,
increment: () => set((state) => ({ count: state.count + 1 })),
decrement: () => set((state) => ({ count: state.count - 1 })),...
Solution:
okay i am dumb, should have read docs better