Alex
Alex
TTCTheo's Typesafe Cult
Created by Fagner on 4/20/2024 in #questions
shadcn's form with uploadthing sdk
It’s not using server actions but maybe it could be converted easily
7 replies
TTCTheo's Typesafe Cult
Created by Fagner on 4/20/2024 in #questions
shadcn's form with uploadthing sdk
7 replies
TTCTheo's Typesafe Cult
Created by Alex on 4/21/2024 in #questions
nginx vs traefik vs caddy
I use nginx too but idk if the grass is greener on the other side yk
4 replies
TTCTheo's Typesafe Cult
Created by Huilen on 3/28/2024 in #questions
why 401 status code doesn't trigger `response.ok` to be false?
A 401 should return ok=false
7 replies
TTCTheo's Typesafe Cult
Created by Huilen on 3/28/2024 in #questions
why 401 status code doesn't trigger `response.ok` to be false?
The ok read-only property of the Response interface contains a Boolean stating whether the response was successful (status in the range 200-299) or not. https://developer.mozilla.org/en-US/docs/Web/API/Response/ok
7 replies
TTCTheo's Typesafe Cult
Created by Lopen on 1/28/2024 in #questions
why do people return jwt token despite setting cookie
2 replies
TTCTheo's Typesafe Cult
Created by Quinten on 1/21/2024 in #questions
Common practice: storing plaintext or encrypted
I think encryption is only necessary if there is sensitive data, like personal stuff, payment stuff or passwords etc.
2 replies
TTCTheo's Typesafe Cult
Created by beebae on 1/6/2024 in #questions
typescript code review(2-page)
Also it would be good to use some linter like ESLint which has plugins for react/nextjs and typescript to ensure code quality
6 replies
TTCTheo's Typesafe Cult
Created by warongarlic on 1/4/2024 in #questions
Auto generate CHANGELOG.md from conventional commits
3 replies
TTCTheo's Typesafe Cult
Created by kiran alex ch on 1/1/2024 in #questions
Problem with the WebSockets
5 replies
TTCTheo's Typesafe Cult
Created by kiran alex ch on 1/1/2024 in #questions
Problem with the WebSockets
What does your createContext look like? I assume you followed this guide: https://trpc.io/docs/subscriptions
5 replies
TTCTheo's Typesafe Cult
Created by Lopen on 12/31/2023 in #questions
is deletion actually a thing or just formality in production?
In case of shopify for example the payment and order data should probably be saved for legal reasons or something maybe
15 replies
TTCTheo's Typesafe Cult
Created by Lopen on 12/31/2023 in #questions
is deletion actually a thing or just formality in production?
Indeed. If you don’t need the data for statistics or whatever it’s better to be hard deleted
15 replies
TTCTheo's Typesafe Cult
Created by Lopen on 12/31/2023 in #questions
is deletion actually a thing or just formality in production?
In my company we have a boolean deleted for every table which we just set to true if we want to delete it. I think doing a hard delete has it’s reasons sometimes too
15 replies
TTCTheo's Typesafe Cult
Created by Ali on 12/7/2023 in #questions
Naming convention for files/directories in Nextjs 14
LGTM
4 replies
TTCTheo's Typesafe Cult
Created by mardo on 11/16/2023 in #questions
Mac Terminal
Iterm2 is quite popular
6 replies
TTCTheo's Typesafe Cult
Created by sommeeeR on 10/30/2023 in #questions
Creating an admin dashboard, and im worried about my users on my main site
In Nextjs every page has it’s own source so the pages won’t have data of another route. If you want to make sure you can use the webpack bundle analyzer I think
4 replies
TTCTheo's Typesafe Cult
Created by McKenzie on 10/15/2023 in #questions
Progress bar in Vs code terminal
If this doesn’t work in vscode but in your normal terminal I assume this has to do something with how vscode integrated the terminal
10 replies
TTCTheo's Typesafe Cult
Created by McKenzie on 10/15/2023 in #questions
Progress bar in Vs code terminal
10 replies
TTCTheo's Typesafe Cult
Created by McKenzie on 10/15/2023 in #questions
Progress bar in Vs code terminal
And maybe you need to enable font ligeratures
10 replies