deforestor
deforestor
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
9 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:
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
9 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
9 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?
9 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
Mhm that's what we're doing now. We might change to enterprise
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
No description
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
TTCTheo's Typesafe Cult
Created by alfilo on 4/30/2024 in #questions
I still don´t get server actions
- Client component can be a inside a server component
Can you explain this one?
20 replies