Ayoub K
Ayoub K
TTCTheo's Typesafe Cult
Created by mcgrealife on 5/21/2023 in #questions
Type-safe url params in NextJS app-router, similar to tanstack-router?
6 replies
TTCTheo's Typesafe Cult
Created by demo on 11/14/2024 in #questions
Are t3env client side env vars set at build time or runtime?
That's my understanding too
4 replies
TTCTheo's Typesafe Cult
Created by supoved on 11/14/2024 in #questions
What are the best learning resource for experienced developers?
Build some side project using the tech you want to learn, struggle with it, read docs, google bugs, ask LLMs to explain things for you, couple or few weeks pass by, Tada! you're really good at it.
9 replies
TTCTheo's Typesafe Cult
Created by itsanameidk on 11/11/2024 in #questions
is trpc good for rest apis?
Yes, that true. For my use case, I just needed to expose 4 endpoints in a project built with trpc so I opted for trpc-openapi
8 replies
TTCTheo's Typesafe Cult
Created by Neven on 11/14/2024 in #questions
What would be the best or more efficient way to -partly- convert CodeIgniter to Next.js
I thought about this question for few minutes. If the CodeIgniter is used a backend only to build an API that serves a frontend, you can incrementally migrate your endpoints one by one. If you're using CodeIgniter to render the Views, the migration most porbably will need to be a rewrite.
3 replies
TTCTheo's Typesafe Cult
Created by itsanameidk on 11/11/2024 in #questions
is trpc good for rest apis?
There's an extension for OpenAPI https://github.com/jlalmes/trpc-openapi I don't know if the project is still actively maintained, but I used it about a year ago and it seemed to do the job well.
8 replies
TTCTheo's Typesafe Cult
Created by deme4447 on 11/10/2024 in #questions
Client Side CTX not being available
I would love to help you debug, provide some code or DM me and let's look at your code
5 replies
TTCTheo's Typesafe Cult
Created by Reggie on 11/12/2024 in #questions
NextJS (on vercel) or TanStack start for performing a lot of requests (in a simple manner)
I don't think if you do client requests on Next, you'd be working against it. Either Tanstack start or NextJS would be fine, Personally, I would just use Tanstack Query for this case either way.
2 replies
TTCTheo's Typesafe Cult
Created by Aleed.dev on 9/4/2024 in #questions
data optimization
I could be happy to help
4 replies
TTCTheo's Typesafe Cult
Created by Mozart's_Ghost on 8/31/2024 in #questions
Unexpected useQuery behavior
Can you elaborate further? What do you mean on interval? Please provide the console log output.
3 replies
TTCTheo's Typesafe Cult
Created by Preston on 8/28/2024 in #questions
React Native
Don't use redux, use something simpler, use Zustand. You can also use the context but it will be a bit messy.
4 replies
TTCTheo's Typesafe Cult
Created by JulieCezar on 8/30/2024 in #questions
App crashes when TRPC error is thrown on the server
On nextjs you can create and error.tsx to handle the error on the client, otherwise you can change the behaviour of the protected procedure to return instead of throwing, but I recommend to keep the default and throw.
4 replies
TTCTheo's Typesafe Cult
Created by Erhan Yaşar on 8/28/2024 in #questions
How to setup initial db and application configs?
In case you still have an issue, you may DM me directly and I can walk you through solving the issue in a call
9 replies
TTCTheo's Typesafe Cult
Created by Erhan Yaşar on 8/28/2024 in #questions
How to setup initial db and application configs?
I am confident that will solve your issue
9 replies
TTCTheo's Typesafe Cult
Created by Erhan Yaşar on 8/28/2024 in #questions
How to setup initial db and application configs?
When it comes to the connection poolet, please set it to transaction mode
9 replies
TTCTheo's Typesafe Cult
Created by Erhan Yaşar on 8/28/2024 in #questions
How to setup initial db and application configs?
You set the password from the console , just click reset database password and you'll get the new password
9 replies
TTCTheo's Typesafe Cult
Created by Erhan Yaşar on 8/28/2024 in #questions
How to setup initial db and application configs?
This is config for supabase postgresql://[USERNAME].[PROJECT-ID]:[YOUR-PASSWORD]@aws-0-eu-central-1.pooler.supabase.com:6543/postgres this is just an example, get the URI from your supabase console, shouldn't be too different to a local porstgres instnce
9 replies
TTCTheo's Typesafe Cult
Created by Mocha on 8/26/2024 in #questions
Migrating from T3 to T3 Turborepo
if you can share the code producing this error ?
13 replies
TTCTheo's Typesafe Cult
Created by Mocha on 8/26/2024 in #questions
Migrating from T3 to T3 Turborepo
here's a guide from Julius https://www.jumr.dev/blog/t3-turbo
13 replies
TTCTheo's Typesafe Cult
Created by Mocha on 8/26/2024 in #questions
Migrating from T3 to T3 Turborepo
Just migrate to a turborepo project, shouldn't take more than an hour or two
13 replies