Luka
Luka
Explore posts from servers
TtRPC
Created by Luka on 11/15/2024 in #❓-help
Client fails to infer drizzle data returned from a query
.
4 replies
TtRPC
Created by Luka on 7/12/2024 in #❓-help
failed to parse json
No description
5 replies
DTDrizzle Team
Created by Luka on 7/10/2024 in #help
monorepo migration folder bundling
I have a turborepo monorepo. Trying to have db as a separate internal package along with its migrations folder but the migrate function uses the migrations folder from the client app rather than the package itself
export const initialMigration = () =>
migrate(db, { migrationsFolder: "../drizzle" });
export const initialMigration = () =>
migrate(db, { migrationsFolder: "../drizzle" });
18 replies
TtRPC
Created by Luka on 7/1/2024 in #❓-help
TRPC with Turborepo Nextjs
Do you guys usually put trpc inside the nextjs project or have it outside as a separate package/service? I've seen some people put the whole trpc in a package of its own and just import the api object in nextjs from the package. wondering what are the advantages and disadvantages of the either way
3 replies
TTCTheo's Typesafe Cult
Created by Luka on 6/18/2024 in #questions
disable logging in next 14.2
anyone have any idea how i can disable the logging added in 14.2?
GET / 200 in 3422ms
POST /api/auth/_log 200 in 21ms
GET / 200 in 3422ms
POST /api/auth/_log 200 in 21ms
22 replies
TtRPC
Created by Luka on 5/17/2024 in #❓-help
how do you guys start a standalone trpc server?
settings up ts alone and express afterwards seems a bit of a hassle. wanna know if there is an easy way of doing it
3 replies
TtRPC
Created by Luka on 11/29/2023 in #❓-help
React Query client and caller client under one object
Would love to know if it is possible to have caller and react query clients under one object? I feel like it would be great to go api.cart.getCartItems() in server components that would utilise caller and api.card.getCartItems.useQuery() in client components.
5 replies
TtRPC
Created by Luka on 11/11/2023 in #❓-help
Merging two clients into one
No description
13 replies
SSolidJS
Created by Luka on 9/7/2023 in #support
import.meta.env.SSR = false even though ssr is set to true
No description
2 replies
SSolidJS
Created by Luka on 9/2/2023 in #support
What's the SEO situation like with solid?
As far as i know MPA is better for SEO but I've not been able to find any information on it. As I know SolidStart is still an SPA. can anyone help out?
4 replies
SSolidJS
Created by Luka on 7/24/2023 in #support
Solidstart Astro or Vite
Created a SolidStart project and saw that it was using Astro. Looking at the docs it says the project should be in vite. Can anyone tell me what's going on? Mostly interested cause libraries are asking to add something to vite config and I don't know whether to skip that step or I've set up something wrong
4 replies