ESLintrc.cjs config setup
Under Create T3 I setup ESLint in rules with:
```
rules: {
'@typescript-eslint/no-unsafe-member-access': ['off'],
}...
/app dir slower than pages?
Hey, is the /app dir actually slower than the regular pages dir from next 12?
If so, is it even a point migrating old next 12 apps to 13.4 with the new app dir?
Just saw this yt vid: https://youtu.be/3Q2q2gs0nAI...
Vercel - Subdomains
Hello hello, I wanted to ask whether there's a way for me to set-up two different projects (which are in different repos), one of the repos should be hosted on the main domain, which I've already done, and the secondary project (in the second repo) should be hosted on a subdomain?
I've attempted doing this, however, it's only giving me this DNS -> cname.vercel-dns.com. , which I've already set for my "www" cname record so I assume that this is not a correct way of doing it?
I saw that there's an option which allows me to set-up a branch of my repo to be hosted under a different subdomain? Is that the only option which I have?...
T3 Env Not Showing Type Errors
Hello, I have the following
env.mjs
file but there is no type error be shown in my IDE even though UPSTASH_API_KEY
is not defined in the runtimeEnv
. Any idea why this is?
```ts
// ./src/env.mjs
import { createEnv } from "@t3-oss/env-nextjs";...
My prisma var is any type
Hello, i use the create t3 turbo repo and the prisma variable is any :
```ts
import { PrismaClient } from "@prisma/client";
...
TypeError: Cannot read properties of undefined (reading 'status')
What am I doing wrong?
Nextjs:
^13.2.4
Nodejs: 18.5.0
...
Stuck with a TS error for `Object.keys` 😞
Hello all, got a pretty nasty issue that I need to fix otherwise I will not be able to move on with my application.
The issue is as follows.
I am getting some data from an API, I build the call with an array of strings, and the API response is formatted as an object where every key contains an object with some other data....
SSR with NextJs layouts (page dir)
So I have a shared layout in my app which looks like this
```js
const Page: NextPageWithLayout = () => {
return (
<>...
"it works on my machine" deployed app to vercel and it blew up
it was hard enough to build the app, I overcame the chanllenges and tried to deploy the first version on vercel, but I was then devastated, nothing works. my app looks like 10/10 tinder profile pic, deploying on vervel is like filter and makeup as taken off and I got catfished.
I've came to the realization the computers are anti human and AI should replace mankind, why is this happening, why is the meaning of life? Idk, just like I don't know how to solve this issue...

Prisma does JOINs by fetching all table data and then comparing???
I just watched this video from CodeDamn
https://youtu.be/J2j1XwZRi30
And he said that they figured out that Prisma actually doesn't do JOINs as you would expect in SQL, but rather query all the data from the tables and then merge them with their engine or w/e.... ...
t3 chirp project - cant resolve trpc ssgHelpers
when following video ssg had error on import so changed code to the different code on the repo of the project. Then the new code said depreciated on the ssg import, so uninstalled and installed with the repos versions of TRPC and now getting-
module not found for @trpc/react-query/ssg
just wondering if anybody else doing the projects encounter this problem and found a good solution for it. New to the stack and first time using ssgHelper...
React Date Filter
I have a construction management application in Brazil, within that, I have an image postponing part in daily reports and I also have the function of seeing all the works already indexed in the construction, as well as filtering by a caption using an input and filtering by index date using a Radix Dialog and the react-day-picker lib.
This is all working almost perfectly, except for the fact that when I filter the images by date, I also filter the number and date of the report in which it was indexed (I'll put photos to exemplify) and in specific cases the reports are returned without be within range
Photos:...

Book style scrolling react
Hey, im working on a app to display a book and i want that instead of one massive book thats scrolling down vertically i want to have each chapter displayed side by side and your able to swipe through them. anyone have any idea how to implement this in react?
Stripe Webhook Event Duplication
Hi guys! I'm using t3 with stripe and I'm worried that there might be duplication of events based on the documentation. How do you make your handler idempotent?
do you guys prefer pages or app?
i have only learned pages before, but i'm finding app a bit harder to learn
tRPC API calls log user out automatically
Whenever I call a tRPC API route (protected or public), I immediately get logged out. I have no idea what I'm doing wrong. Here's my code:
```typescript
// [...nextauth].ts
import NextAuth from "next-auth";...
Solution:
Hm, this verifies what I was wondering. Is the repo open source
Hi guys. I am very new and have just learned about T3.
I wanted to know if the T3 stack is up to date with all the latest releases of all the different tech that it uses like NextJS 13.4 (App router) ?
should I use react-query or tanstack-query?
im not on a framework yet like nextjs or t3, but i will be learning those in the future
which library should i use to replace my vanilla useEffect fetching in a react project?
note, I want to learn tRPC/t3 stack in the future, so ideally the library which will prepare me more towards these will be good...
Clerk Role Based Auth
Hi, how do you deal with role based auth using clerk? I have 3 roles: Admin, Moderator and User. All users have the role User by default. And the User can't access Admin or Moderator pages. I can't find any resources about that.