dinislam
TTCTheo's Typesafe Cult
•Created by dinislam on 8/4/2023 in #questions
shadcn/ui is unusable due to Type Errors
This seems to be fixed by updating
react
react-dom
@types/react
@types/react-dom
and @types/node
to latest3 replies
TTCTheo's Typesafe Cult
•Created by dumbitry on 7/21/2023 in #questions
testing frameworks that work best with next 13 and the app router?
@nickserv these are docs for the Pages router
5 replies
TTCTheo's Typesafe Cult
•Created by dinislam on 6/20/2023 in #questions
How to use Datadog APM with Next.js on Vercel?
Looks like there is no work around. Got confirmation from DataDog that APM is NOT supported on Vercel at the moment.
5 replies
TTCTheo's Typesafe Cult
•Created by dinislam on 6/11/2023 in #questions
How to server-render (SSR) a client component using Next.js app router?
Nope, ISR is something else. I was wondering how to get getServerSideProps-like behavior in App Router (first render is SSR, then hydration, then subsequent rerenders are client-side), but in my own testing that already seems like the default behavior with App Router Client Components. Now, I still don't know why the example I linked doesn't do that, so will have to dig in further.
5 replies
TTCTheo's Typesafe Cult
•Created by dinislam on 2/21/2023 in #questions
Customize QueryClient for TRPC?
i love you @cje
5 replies
TTCTheo's Typesafe Cult
•Created by dinislam on 11/10/2022 in #questions
Typescript React Component Props Error
The generic seems straightforward conceptually. I want “componentProps” to be the same type as the props for the “component”. Strange that it’s so hard in practice to do
19 replies
TTCTheo's Typesafe Cult
•Created by dinislam on 11/10/2022 in #questions
Typescript React Component Props Error
Sounds good
19 replies
TTCTheo's Typesafe Cult
•Created by dinislam on 11/10/2022 in #questions
Typescript React Component Props Error
Would the future “satisfies” keyword help here?
19 replies
TTCTheo's Typesafe Cult
•Created by dinislam on 11/10/2022 in #questions
Typescript React Component Props Error
Ahh 😦
19 replies
TTCTheo's Typesafe Cult
•Created by dinislam on 11/10/2022 in #questions
Typescript React Component Props Error
By that I mean from within the AuthenticatedRoute component add extra props to the Component
19 replies
TTCTheo's Typesafe Cult
•Created by dinislam on 11/10/2022 in #questions
Typescript React Component Props Error
Is there a way to inject the route props at the same time? history, location, match etc.
19 replies