SyntaxError Cannot use import statement outside a module
Hi!
I've just starter using react-sigma to render a graph on my T3 app. At first everything was working as expected until suddenly the app refuses to compile anymore, giving the attached error.
From googling some, I suspect the error has something to do with SSR so I'm wondering how to handle that? Break the code out into a component using a dynamic reload? Is that the way to go?...

What's the exact definition of Serverless
I was never 100% sure what exactly Serverless term means.Is it not using our own dedicated server for our app? Or using a full stack framework like next js which comes with its own node server? Or using a firebase kind of thing which exposes their own APIs ? I just want to have a clear understanding of it. Could anyone give me some clear picture of it
client.mjs, server.mjs, process.env
Can someone please explain the use cases for each? I see that process.env in used in src/utils/trpc.ts. Why not use server.mjs there? In server,mjs we do ...clientEnv which means in server.mjs we have all the env variables. Then when should we use client.mjs?
Env variable (I have read the t3 docs and it's still unclear to me)
I'm using import { env } from "../../../env/server.mjs"; for server environment variables. Should I use import { env } from "../../../env/client.mjs"; or process.env.NEXT_PUBLIC_MY_CLIENT_ENV_VAR for client side env variables? And why is it that in server.mjs we export the client side env data?
export const env = { ..._serverEnv.data, ...clientEnv };...
Active Bottom Tab Rounding.
I would like to round the corners in a way like this this code does for the middle tab, when that tab is active, however would I switch out the round at the bottom with code. I feel like I am overthinking how I should approach this.
```
'use client';
import React from 'react';...

TRPC Context type error
im getting this error in vscode
my context file:
```
import { inferAsyncReturnType } from '@trpc/server';...

Safe to use a DB item Id inside url?
Hey, was just wondering if its secure to use a database object id (for example /recipe/639b9e04c57c616a5e738asd) inside the url?
pnpm Store Path
Does anyone know how to change the store path of pnpm? I need to prevent it from saving packages in my internal SSD because it is small.
Next.js or SvelteKit
So my current Stack is Next.js, tRPC, Mantine and EdgeDB. I like Next and I really like Mantine. The thing is I would like to switch to SvelteKit and I would then use Tailwind to build my own Design system however it would probably be heavily inspired by Mantine. So any recommendations on what I should do?
Prisma trpc schema multiple models
Hi guys I built a basic t3 stack app, and right now I am stuck. I am trying to create an additional model while creating another one.
This is how my schema looks like:
```ts
generator client {
provider = "prisma-client-js"...
As a React developer is Svelte best choice to build my next project?
What do u think about svelte ecosystem?
What are the benefits in using tRPC in Remix??
https://github.com/ggrandi/trpc-remix
Are there actually big enough benefits in using tRPC in Remix?...
CT3A redirect to deeper route
So I have a
/dashboard/[setting].tsx page which I use to load the dashboard settings, blah blah you get the idea.
How do I redirect /dashboard to /dashboard/${settingId} (I have settingId already and it is safe to assume it will be a valid URL)...SessionProvider Context Noob Question
If we use getServerSideProps, I can understand where pageProps.session is coming from. However, if we use useSession (getting session on client side), does it somehow attach it to the context still once its fetched? Since it does not come in as a page prop in this case I am a little confused.
Thanks!!...

create-t3-app not working with yarn 3?
Is anyone else facing issues using create-t3-app with yarn? There's an open issue on GH that's tagged as "won't fix" which seems odd to me (https://github.com/t3-oss/create-t3-app/issues/454). I'm wondering if this is a problem in general or in specific cases and if there's a known workaround (other than not using yarn).
It worked fine last time I scaffolded a t3 app a month or so ago, but that wasn't using trpc and nextAuth (don't lynch me, was just a toy project using GraphQL for a tool for work)....
fix create-t3-app (and trpc) dangerous default?
By default, trpc (https://github.com/trpc/trpc/discussions/2071) and create-t3-app send server errors to clients
```
const t = initTRPC.context<Context>().create({
transformer: superjson,...
planet scale vs digital ocean?
Planet scale seems overpriced … why is it a good choice over other services?
Signin in turborepo t3
I'm running a t3 turborepo that has 2 apps, 1 admin (CMS) and the client next app. The login is done using credentials, how can I do so that when you login in the admin app you get redirected to localhost:3001/ (admin), and when you login in the client app you get redirected to localhost:3000/?
Currently when I login in admin I get redirected to the client /...
Zod - `require_error` in string not working when also using `min`
Does someone know how I can show the required_error in Zod?
when I parse this, it only shows that I need at least 2 characters, even if the string is empty...
z.string({ require_error: "Name is required"}).min(2, { message: "Name must be at least 2 characters"});
z.string({ require_error: "Name is required"}).min(2, { message: "Name must be at least 2 characters"});