Just started trying to learn prisma through the docs and I'm getting an error
Best way to pass down variables & filters from React-Query (& TRPC) to Prisma?
prisma.io, who have also published some posts. I know how to do this in prisma:
```js
const result = await prisma.user.findMany({
where: {...Created a Resizable HTML table, missing one last thing
Functional approach for concise code
https://github.com/mobily/ts-belt ...
Zod - sort schema
findMany query. Since I don't know zod very well, I could not think of any possible type-safe solution.
Sort format should be: columnFieldName:orderType, so for example: firstName:desc.
I made my types from @prisma/client, but don't know how to add them to tRPC input.
Is it even possible?...tRPC client error

Next JS API Route Never Returns HTTP Status
Prisma TRPC Casing Issue
CSS Question - black or white text color based on background
mix-blend-mode - they say it's not well supported and it also does not work with only black / white coloring.
Is there a pretty convenient way to do it in CSS (maybe Tailwind) / JS (I'm using React)?
The screenshot shows what I have right now (I want the black text on the red-ish background to be white)...
What's the best way to attach functions to a TypeScript interface?
const isSlow = card.properties.includes(Property.Slow);
const isSlow = card.properties.includes(Property.Slow);
NextAuth 2FA with oAuth
why is prettier broken on vs code?
TRPC query initial undefined
is anyone else having issues with creating a new preact next app with pnpm?
pnpm create next-app --example using-preact preact-app is ok, but then once I run pnpm dev I get:
```
ready - started server on 0.0.0.0:3000, url: http://localhost:3000
error - ../../node_modules/@prefresh/core/src/index.js:7:0
Module not found: Can't resolve 'preact'...Convert zod schema to typescript interfaces
React Query - Update data after successful mutation
queryClient doesn't provide any of these methods.
const queryClient = trpc.useContext();
...Credentials Auth with tRPC
CredentialsProvider wasn't going to work for us. Then we moved to Strapi and after using Strapi I decided I'm just gonna do it myself. <Insert Thanos GIF>
We still need to authenticate users based on username/password credentials, and I'm not sure how tRPC handles that within its ctx since according to NextAuth docs (https://next-auth.js.org/providers/credentials) it doesn't store session data in the DB....Adding next.js plugin to T3?
defineNextConfig?Next.js multi zones and shared components
3000 and a web app at port 4200, which is working fine. Unfortunately I am encountering some problems that aren't described anywhere in their documentation (as far as I can tell).
I am working in a monorepo and have shared components between both apps, such as the header and footer, which obviously includes navigation. When I am on the blog and want to navigate to e.g. the /about page, then it will obviously navigate to localhost:3000/blog/about instead of localhost:3000/about. One solution is to check the base path in the navigation component and then prepend localhost:3000 to the href if the base path equals blog, but that refreshes the entire app and does not result in smooth navigation, so it's not really ideal. Is there anything else can I do about this?...