kewinzaq1
kewinzaq1
TTCTheo's Typesafe Cult
Created by Muhct on 7/14/2024 in #questions
Using hardcoded data for comparison in unit tests with toEqual?
yes
8 replies
TTCTheo's Typesafe Cult
Created by Muhct on 7/14/2024 in #questions
Using hardcoded data for comparison in unit tests with toEqual?
@Muhct And if something will be messed up in the future you will have the same benefits and if the change is expected you can commit update automatically without the need to manually adjust file
8 replies
TTCTheo's Typesafe Cult
Created by Muhct on 7/14/2024 in #questions
Using hardcoded data for comparison in unit tests with toEqual?
@Muhct You save time preparing expected result, it will be generated automatically if you use this method
8 replies
TTCTheo's Typesafe Cult
Created by Muhct on 7/14/2024 in #questions
Using hardcoded data for comparison in unit tests with toEqual?
@Muhct Probably you be better using toMatchInlineSnapshot instead
8 replies
TTCTheo's Typesafe Cult
Created by sleeping💤 on 5/21/2024 in #questions
full stack ideas to ask
if choosing right db and implementing infinite scroll for app with wall is overengineering then you're absolutely right
23 replies
TTCTheo's Typesafe Cult
Created by sleeping💤 on 5/21/2024 in #questions
full stack ideas to ask
maybe you're right, but I just asked some basic questions based on the app @dot want to build
23 replies
TTCTheo's Typesafe Cult
Created by sleeping💤 on 5/21/2024 in #questions
full stack ideas to ask
who?
23 replies
TTCTheo's Typesafe Cult
Created by sleeping💤 on 5/21/2024 in #questions
full stack ideas to ask
@dot without front-end you won't implement it
23 replies
TTCTheo's Typesafe Cult
Created by sleeping💤 on 5/21/2024 in #questions
full stack ideas to ask
@dot I think that this is a key feature in such app
23 replies
TTCTheo's Typesafe Cult
Created by sleeping💤 on 5/21/2024 in #questions
full stack ideas to ask
@dot How about infinite scrolling in such app?
23 replies
TTCTheo's Typesafe Cult
Created by sleeping💤 on 5/21/2024 in #questions
full stack ideas to ask
What about front-end? Have you picked stack for state management or you want to go vanilla and do it on your own? I would go with react-query if I were you
23 replies
TTCTheo's Typesafe Cult
Created by sleeping💤 on 5/21/2024 in #questions
full stack ideas to ask
Second consideration is about your backend app architecture? I highly recommend to glance over Tao of Node
23 replies
TTCTheo's Typesafe Cult
Created by sleeping💤 on 5/21/2024 in #questions
full stack ideas to ask
mern can be valid but there are some consideration? First maybe relational database would be more accurate for your project? For thread app like / twitter like app realtional database looks better
23 replies
TTCTheo's Typesafe Cult
Created by pappu on 5/20/2024 in #questions
Frameworks for testing in monorepos, what are y'all using?
What do you want to test? If everything but the kitchen sink you can go with vitest, rtl, msw and playwright
3 replies
TTCTheo's Typesafe Cult
Created by FleetAdmiralJakob 🗕 🗗 🗙 on 5/18/2024 in #questions
shadcn/ui page reloads on form submit
@FleetAdmiralJakob 🗕 🗗 🗙
7 replies
TTCTheo's Typesafe Cult
Created by FleetAdmiralJakob 🗕 🗗 🗙 on 5/18/2024 in #questions
shadcn/ui page reloads on form submit
Hi I'll help you but I have a few questions. Why are you using doubled form? I guess that the custom Form component already uses native form under the hood, so you probably don't need the second one. Secondly you should prevent default form behavior not input event.
7 replies
TTCTheo's Typesafe Cult
Created by mardo on 11/16/2023 in #questions
Mac Terminal
Warp
6 replies
TTCTheo's Typesafe Cult
Created by cadams on 10/8/2023 in #questions
Non-primitive fields not showing on variables of type from RouterOutputs.
did you select those fields?
13 replies
TTCTheo's Typesafe Cult
Created by AdeebTwait on 10/8/2023 in #questions
Best setup for a quick MVP?
t3stack or blitz.js
2 replies
TTCTheo's Typesafe Cult
Created by kewinzaq1 on 1/22/2023 in #questions
Problem with websocket in t3-app
3 replies