Theo's Typesafe Cult

TTC

Theo's Typesafe Cult

Join the community to ask questions about Theo's Typesafe Cult and get answers from other members.

Join

AI Editors/Extensions

So, i've been using Copilot for a year now, and it seems like it gets worse over time. I have a student discount, so i get decent models there. Or i had. Recently i started using Gemini models and they legit just suck inside copilot, not using tools or missing the files. So, the question from the title: What AI Editor(Cursor) or Exnesion(Cline,Roo,Kilo) are the best and why? I will be using them with my Gemini API Key ...

How do people handle logging in a Next.js app?

I have experience in logging on backends with winston and pino, but have never had to log in a full-stack production app. What are the do's and don'ts, and how should the logging work?

create-t3-app vs. T3 Chat stack

Hello, I'm curious to build an AI agent chat application with some tool calling that mimics what Theo has put together with T3 and his move to Convex. I'm wondering what the delta is with create-t3-app as a starting point and what has ended up being selected in T3 Chat....

Do I trust Claude that VSC can't do MCP auth?

Just a quick sanity check, is this true?
No description

Any good resources/collections for react native design/animations.

I'm super nooby but i'm halfway done building a expo react native app. But I was a designer first and I'm used to good examples of mobile apps, I don't necessary need a component library like Shadcn but there are lots of apps that use shadcn and I was looking for a board for inspiration. So far my best bet has been looking on appstacks, mobbin, and threads weirdly enough for most likely native apps, and everyone says the micro interactions aren't something they would do in react native. Figured...

NextJS streaming: use(<data_promise>) in CC or await data in parent SC?

`` page.tsx (SC) -> <Suspense fallback={<Spinner/>}> <DataWrapper.tsx> // This SC does the await fetchSettings()` -> <DataForm.tsx settings={resolvedData} /> (CC)...

I am trying to better understand Tools within the context of LLMs.

I know what they do, thats not hard. BUT I am having issues finding the proper documentation for OLLAMA for them. There isnt a formal workflow, so it seems after you get info from your model, you will then execute all your tools that the model thinks it needs, and then you resubmit them to the model to process. The problem i come into is: Is there a format for the tool content? ...

Framework for small bits of interactivity on otherwise static page?

One thing that web components frameworks enable is adding a small bit of interactivity to an otherwise static page. Either strictly static, or from a static-site-builder, or from a CMS. Are there other frameworks that work well for that application? From my attempts on the angular playground, it looks like you can do it, at least with the most recent angular.

What was that video where Theo talked about the shadcn-like UI component library

I have searched through his videos with YouTube channel search and filmot but couldn't find it. I remember an animation where there was a laptop that changed perspective when scrolled, and Theo said it was pretty amazing that they had replicated the laptop with html divs.

Upload security

Hi, quick question here. So we can specify a mime type for our route handler. How is this mime type verified? Is it just the reported mime type or do you check the file magic numbers? Follow up question: Is there any other security on uploaded files or is the rest up to us? (Assuming this is gonna be a no)...

T3 chat history in context

I like the "memories" and "reference chat history" features of ChatGPT where it can use more knowledge about me in its responses. Does T3 chat have similar features?

Typecheck works locally but fail during CI\CD on new T3 project

Hey community, please help with following I've created a new T3 project with 1 page and have a problem importing images. My repo is here (difference from template: 4 pictures, images.d.ts, ci\cd config file) ...
No description

EAS deploy error with uploadthing

I just copied the documentation but when I try to host, I get the below error ```powershell EAS Hosting is still in preview and subject to changes.
Project export: server
✖ Failed to create deployment...

hello. i have a problem at uploadthinf

i done all steps uploadthing to upload image. when i upload image it show at console is uploaded but still keep uploading state at the browser.
No description

Next.js or something else?

Hi everyone, I'm new here but have been watching theo's videos on YouTube for a while and sometimes he roast next.js and sometimes compliment. Now I was gonna push my team in office to start using next.js typescript based to create websites but now I'm thinking is should we use next.js? Or is there something much better? Because we usually do a direct deploy to server not using vercel/netlify etc like an EC2 instance of AWS. So what are your thoughts Next.js or some other framework we should go with?...

onComplete doesn't work in production but works in development

I have an express app that looks something like this ```ts import express from 'express'; import cors from 'cors' import { uploadRouterHandler } from './routes/uploadthing.route';...

Where to report a security concern for UploadThing?

I've found a place where UploadThing is leaking SQL statements in SDK responses, which exposes the table structure/etc. Not an immediately exploitable vuln, but probably something they'll want to fix. Where's the right place to responsibly disclose the details? (looks like UT doesn't have a /.well-known/security.txt or /security.txt file, though I did look for them...)
Solution:
id dm theo on twitter

$1 GPT Image Model Credits

Is anyone generous enough to give me an API with $1 worth of credits? I want to use the GPT-image model in my app. I'll be happy to tell you guys what I'm working on - it's a "whiteboard" in which you connect nodes to create workflows. In return, I'd be glad to give you a shout-out when I launch, or even offer you early beta access to the app! Thanks 🙂...
No description

t3 stack w `usePersistQueryClient`

im using t3 stack (w trpc, reactquery, pages router), do yall have any working examples of it w usePersistQueryClient

T3 Premium 100/100 full until 2 days! ??

Does anyone know what exactly is included in the premium 100 credits? My credit started up again 2 days ago and I'm at 100/100!! I don't use anything but grok2.5 pro! Can anyone explain this? 🙂 Does coding also eat up premium credits? Is there a description somewhere about how much each model eats?