deforestor
TTCTheo's Typesafe Cult
•Created by ZowtuPinda on 5/14/2024 in #questions
TypeError: Cannot read properties of null (reading 'useContext')
Yeah, I'm pretty sure this has something to do with caching.
There's a very weird scenario that is pretty replicable: when you edit an endpoint and this error starts occurring, try ctrl-zing the change and the error will go away.
This makes me believe there's some kind of caching bug and this error is just completely wrong lol
11 replies
TTCTheo's Typesafe Cult
•Created by ZowtuPinda on 5/14/2024 in #questions
TypeError: Cannot read properties of null (reading 'useContext')
make sure it suits the react version of your project
11 replies
TTCTheo's Typesafe Cult
•Created by ZowtuPinda on 5/14/2024 in #questions
TypeError: Cannot read properties of null (reading 'useContext')
Yo, little update here. I saw some people saying this error is related to some node modules using the wrong version of React.
POSSIBLE FIX: I've added this to my package.json and haven't had this error in a day, will update again in the future:
Update: this did not fix it lol
11 replies
TTCTheo's Typesafe Cult
•Created by deforestor on 9/3/2024 in #questions
Next 14 (app/router) is extremely slow (on dev) + tRPC + Turbopack
Only solution I could figure is to fully migrate to Next 14, using actions instead of trpc every time you can, tbh
5 replies
TTCTheo's Typesafe Cult
•Created by deforestor on 9/3/2024 in #questions
Next 14 (app/router) is extremely slow (on dev) + tRPC + Turbopack
TLDR:
- components that call tRPC within them and are inside an app-router app/page will be very slow (Waterfall)
- Turbopack seem to make fetching data slower, which exponentially slows down the more Waterfalling you have
5 replies
TTCTheo's Typesafe Cult
•Created by deforestor on 8/18/2024 in #questions
Coding on Snapdragon X Elite
Just want to know if anyone is having a good time with these laptops 🤔
3 replies
TTCTheo's Typesafe Cult
•Created by ZowtuPinda on 5/14/2024 in #questions
TypeError: Cannot read properties of null (reading 'useContext')
I've had this same problem for months and I'm reaching my limit lol
11 replies
TTCTheo's Typesafe Cult
•Created by ZowtuPinda on 5/14/2024 in #questions
TypeError: Cannot read properties of null (reading 'useContext')
Have you ever solved this?
11 replies
TTCTheo's Typesafe Cult
•Created by deforestor on 6/13/2024 in #questions
Vercel Build out of memory
But I'm doubtful that will fix it
24 replies
TTCTheo's Typesafe Cult
•Created by deforestor on 6/13/2024 in #questions
Vercel Build out of memory
Yeah there were js and ts files Included, I don't think that was necessary
24 replies
TTCTheo's Typesafe Cult
•Created by deforestor on 6/13/2024 in #questions
Vercel Build out of memory
🤔 let me check
24 replies
TTCTheo's Typesafe Cult
•Created by deforestor on 6/13/2024 in #questions
Vercel Build out of memory
Is the idea to build locally and deploy to Vercel or to build on github?
24 replies
TTCTheo's Typesafe Cult
•Created by deforestor on 6/13/2024 in #questions
Vercel Build out of memory
Yeah
24 replies
TTCTheo's Typesafe Cult
•Created by deforestor on 6/13/2024 in #questions
Vercel Build out of memory
We might just have to do it, thanks!
24 replies
TTCTheo's Typesafe Cult
•Created by deforestor on 6/13/2024 in #questions
Vercel Build out of memory
24 replies
TTCTheo's Typesafe Cult
•Created by deforestor on 6/13/2024 in #questions
Vercel Build out of memory
Hmm moving our whole infrastructure to GHA might not be viable now
24 replies
TTCTheo's Typesafe Cult
•Created by deforestor on 5/2/2024 in #questions
TRPC error handling (on client) is confusing
So I'm wondering, isn't "onError" already handling the error? Then how is it uncaught?
4 replies
TTCTheo's Typesafe Cult
•Created by deforestor on 5/2/2024 in #questions
TRPC error handling (on client) is confusing
4 replies
TTCTheo's Typesafe Cult
•Created by alfilo on 4/30/2024 in #questions
I still don´t get server actions
Oh ok easy
20 replies
TTCTheo's Typesafe Cult
•Created by alfilo on 4/30/2024 in #questions
I still don´t get server actions
Does that simply mean using a client component inside the server component?
20 replies