Y7YA
TTCTheo's Typesafe Cult
•Created by Aguilar on 9/30/2024 in #questions
Introducing new library to the deps
I'd rather spend 3 months refactoring the whole codebase to something I like to work with than 1 month of plastering fixes through a slobby codebase. But that's just my selfish desire as an enthusiast dev, not necessarily what's best
38 replies
TTCTheo's Typesafe Cult
•Created by Aguilar on 9/30/2024 in #questions
Introducing new library to the deps
The biggest (& possibly only) benefit of refactoring the entire codebase is that it's fun for people like you and me
38 replies
TTCTheo's Typesafe Cult
•Created by Aguilar on 9/30/2024 in #questions
Introducing new library to the deps
I hear you but the painful truth is even if you make a fantastic refactor, after you leave they will inevitably hire non-enthusiast devs who will not appreciate any of the best practices you've poured your heart into & drag the codebase to the mud again.
38 replies
TTCTheo's Typesafe Cult
•Created by Aguilar on 9/30/2024 in #questions
Introducing new library to the deps
Especially if you have any project managers or QAs on the team, you'll need to consider that they'll be doing extra work they never asked for to confirm your new code works
38 replies
TTCTheo's Typesafe Cult
•Created by Aguilar on 9/30/2024 in #questions
Introducing new library to the deps
For this specific case though it's not really wise to refactor the whole site just for the sake of following best practices if it is generating income without issues
38 replies
TTCTheo's Typesafe Cult
•Created by Aguilar on 9/30/2024 in #questions
Introducing new library to the deps
most people in the industry aren't enthusiasts like the demographic in this discord, so the devs aren't really incentivised to follow any good practices.
38 replies
TTCTheo's Typesafe Cult
•Created by Aguilar on 9/30/2024 in #questions
Introducing new library to the deps
This is the state of many legacy projects unfortunately
38 replies
TTCTheo's Typesafe Cult
•Created by Y7YA on 8/11/2024 in #questions
Server actions in server components
I lost the link unfortunately, but it wasn't an authoritative figure and the guy himself said he wasn't sure.
6 replies
TTCTheo's Typesafe Cult
•Created by Y7YA on 8/10/2024 in #questions
NextJS prefetch bad for bandwidth?
yeah that unstable_cache vid was quite insightful, actually lead us to start refactoring the many huge fetch responses we were cacheing regularly
19 replies
TTCTheo's Typesafe Cult
•Created by Y7YA on 8/10/2024 in #questions
NextJS prefetch bad for bandwidth?
That's true.. I guess globally disabling prefetch, & instead cacheing everything as we were currently doing will be the way to go. I thought maybe prefetching could allow us to less heavily cache but doesn't seem to be worth it.
19 replies
TTCTheo's Typesafe Cult
•Created by Y7YA on 8/10/2024 in #questions
NextJS prefetch bad for bandwidth?
I was thinking maybe I could dynamically disable/enable prefetch based on user bandwidth - no clue how I'm going to achieve that as of right now though.
19 replies
TTCTheo's Typesafe Cult
•Created by Y7YA on 8/10/2024 in #questions
NextJS prefetch bad for bandwidth?
We have prefetch disabled globally but I want an excuse to enable it. I don't want to penalize the experience of users with high bandwidth at the expense of improving the experience of users with low bandwidth
19 replies
TTCTheo's Typesafe Cult
•Created by Y7YA on 8/10/2024 in #questions
NextJS prefetch bad for bandwidth?
19 replies
TTCTheo's Typesafe Cult
•Created by Y7YA on 6/8/2024 in #questions
React Native Security Question (.env)
seems like RLS is the suggested security measure, guessing can't use an ORM with RLS
9 replies
TTCTheo's Typesafe Cult
•Created by Y7YA on 6/8/2024 in #questions
React Native Security Question (.env)
how do I communicate with the database then? A standalone server?
9 replies
TTCTheo's Typesafe Cult
•Created by Traconis on 5/7/2024 in #questions
Theo's tutorial
Is your code formatted correctly?
16 replies
TTCTheo's Typesafe Cult
•Created by Traconis on 5/7/2024 in #questions
Theo's tutorial
Could you hover over the red part and see what it says?
My guess is the linter is configured to show red warning lines on unused variables and mis-indented code.
16 replies
TTCTheo's Typesafe Cult
•Created by Patrik Zita on 4/24/2024 in #questions
Shadcn - Drawer - Vaul - flashing after closing Drawer
I think this is due to the overlay. Try messing around with the overlay styles to achieve a different way of getting the greyed out background.
4 replies
TTCTheo's Typesafe Cult
•Created by Ani on 4/24/2024 in #questions
Am I being lowballed?
was coming here expecting to be like "it's not that bad".. but nevermind
52 replies
TTCTheo's Typesafe Cult
•Created by Ani on 4/24/2024 in #questions
Am I being lowballed?
😆 😆 😆
52 replies