Does anyone know how to print react docs?
Yeah basically what the title says, I need to print react beta docs and with ctrl+p text gets cut off at the bottom.
create-t3-turbo expo tunnel doesnt fetch on a physical device.
On an emulator it works properly, noticed the same thing on my project, as well as on create-t3-turbo repository, not sure how to properly fix that.

Property 'handle' does not exist on type '{}'
How do i bypass "Property 'handle' does not exist on type '{}'"
i am trying to pass the handle value to the session, and the handle value in fact exists in token.user and my code works accordingly as well, however typescript does not let me pass through this error.
my code is as follows (this is inside the [nextauth].ts file)...
tsconfig and import statements
All my tests (of the modules) are using import statements...
However once i put an import statement in the index.ts i get this error:
```
$ ts-node index.ts...
Proper way to handle TRPC server errors on client?
I have some code that looks a little like this, but I'm not too sure what we should be putting in the catch for typing the error. I'm just using the default t3 stack error formatter. Is there a built in type for the client I can use that doesn't require me to JSON.parse the error object?
```typescript
subscribe
.mutateAsync({...
adding provider causes type error
when adding a new provider, I get the following error despite having changing the ENV and adding the new environment variables.
Type 'string | undefined' is not assignable to type 'string'....

Get Vercel Server IP
Hey guys, API I’m trying to incorporate wants my server IP. As Vercel can’t provide this due to the nature of serverless, is there any work around? Or I really gotta deploy an entire seperate API on Railway or something just for one endpoint?

CODEREVIEW - Typescript noob
in javascript i would write this by first defining the empty object and then filling it up, so as to keep my code DRY
typescript doesn't seem to like this... is there a best practice?
```ts...
Protected routes in Nextjs?
In the past I have made protected routes using react router so that if a user is not authenticated and tries to go to a page, they are redirected to the login page and then once logged in, brought to the page they were trying to go. I’m now trying to learn Nextjs and wanna know firstly if this is the best way to ensure authentication, and also the best way to do it with Nextjs routing if it is. I’ve found varying answers online so I figured I’d ask here.
Refetching tRPC query after mutation from a child
Hey, this might be a pretty noob tRPC question as I'm quite new to the whole tRPC + TanStack Query setup.
I have a component
NotificationPanel which uses tRPC to query unread notifications for a given user.
Once it fetches those notifications, it renders multiple NotificationItem elements and passes the notification object to them....Easiest to integrate CMS?
Thinking about starting a project that requires a ton of markdown files to be edited from multiple places,
Needing a CMS to achieve what I'm looking to do but can't figure out which one I should opt for since I haven't had much experience with using CMS combined with T3,
Does anybody have any recommendations for something that works well with typescript?...
React immutability performance
Hi! Is it possible to avoid calling
renderPosts every time when filteredPosts gets mutated?
filteredPosts is mutated because state search value changes, but actually the value of filteredPosts (array of objects) did not (in case the search expression is not too specific)
Can I handle this mutability in React?...Trpc not invalidating query
Hi, I'm trying to invalidate my query after the mutation runs but nothing happens. When I look at the rq devtools, I see no changes. I logged the invalidate and a promise that is fulfilled gets returned but my query is not invalidated. I searched for the issue here which led me to add the async await. I've tried a few different way but no luck. Thanks for any help
```const followInfo = trpc.user.getFollowInfo.useQuery({ username });
const followMutation = trpc.user.followUser.useMutation({...
can values be passed to middleware except ctx
Hello, I would like to pass some values something like input object itself so that I can make additional check in middleware, is something like that possible?
ChatGPT - Server Sent Events SSE
Hi y'all,
I'm trying to replicate ChatGPT using their less powerful GPT3 apis.
It turns out ChatGPT is doing SSE under the hood so that you don't get 10+ seconds of nothing on screen.
But I couldn't quite figure out how to do the 'typing animation', aka GPT's message updating on screen as it comes in....

Creating vertical word slider in React
Is there any way to recreate this vertical word slider in React, without manipulating the DOM? This is my version in vanilla JS https://codepen.io/Yiaoma/pen/WNKzQay
trpc call inside getServerSideProps?
(create-t3-turbo) I have a dynamic route for users' stuff,
stuff/xyz they can they go to stuff/xyz/doStuff or stuff/xyz/doOtherStuff
I need to validate xyz that it exists in my DB - then redirect to 404 if fails, so far ive done it with prisma client directly (inspired from zapdos kinda)
```ts...How to check if a string is included in a certain type
Say you have
type Category = "twitter" | "youtube" | "spotify"
then you need to check if a string is of type Category
...
how to tRPC Prisma Zod Json field
Hi 🙂 I am stuck with a mutation, in my db Model (Prisma + pg) I have a Json field (with variable schema) . How can I define the mutation input for it with Zod?
I tried to base myself on https://github.com/colinhacks/zod#json-type but still it diverges from the given Prisma.JsonValue.
I am rather new with with stack so I might miss something obvious 🙂...
I tried to base myself on https://github.com/colinhacks/zod#json-type but still it diverges from the given Prisma.JsonValue.
I am rather new with with stack so I might miss something obvious 🙂...
How to use several fonts in Nextjs?
Right now, my main font is Inter applied in _app.tsx like this:
```import { Inter } from "@next/font/google";
const inter = Inter({
display: "swap",...