oa
oa
Explore posts from servers
TTCTheo's Typesafe Cult
Created by oa on 10/23/2022 in #questions
error while developing a react component library
i gave up on the library bc i couldnt figure the error out lol
8 replies
TTCTheo's Typesafe Cult
Created by adiguno on 5/20/2023 in #questions
onHover tailwindCSS
this generates hover:[color], you might want something like hover:bg-[color]
9 replies
TTCTheo's Typesafe Cult
Created by oa on 1/28/2023 in #questions
tRPC "Cannot destructure property 'client' of 'useContext(...)' as it is null"
yeah, make sure you have the context added in _app.js
3 replies
TTCTheo's Typesafe Cult
Created by oa on 11/6/2022 in #questions
accessing client side storage in next13 react server components
okay so i tried console logging req and its empty
{ params: {}, searchParams: {} }
{ params: {}, searchParams: {} }
25 replies
TTCTheo's Typesafe Cult
Created by oa on 11/6/2022 in #questions
accessing client side storage in next13 react server components
i haven't seen any documentation about them passing the req object to server components though i might be wrong
25 replies
TTCTheo's Typesafe Cult
Created by oa on 11/6/2022 in #questions
accessing client side storage in next13 react server components
do server components have access to the req object?
25 replies
TTCTheo's Typesafe Cult
Created by oa on 11/6/2022 in #questions
accessing client side storage in next13 react server components
yes but for this you will need session.id where will you get that from in the server component
25 replies
TTCTheo's Typesafe Cult
Created by oa on 11/6/2022 in #questions
accessing client side storage in next13 react server components
i dont get what you mean, the session is stored in the database but how will the server component get access to the session id
25 replies
TTCTheo's Typesafe Cult
Created by oa on 11/6/2022 in #questions
accessing client side storage in next13 react server components
how would you send data from a client to server component
25 replies
TTCTheo's Typesafe Cult
Created by oa on 11/6/2022 in #questions
accessing client side storage in next13 react server components
i was thinking about storing a session token in localstorage to auth with it
25 replies
TTCTheo's Typesafe Cult
Created by oa on 11/6/2022 in #questions
accessing client side storage in next13 react server components
how would you do that?
25 replies
TTCTheo's Typesafe Cult
Created by oa on 10/23/2022 in #questions
error while developing a react component library
8 replies
TTCTheo's Typesafe Cult
Created by oa on 10/23/2022 in #questions
error while developing a react component library
i'm using a nextjs app to test
8 replies
TTCTheo's Typesafe Cult
Created by oa on 10/23/2022 in #questions
error while developing a react component library
package's package.json
"devDependencies": {
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"peerDependencies": {
"react": "*",
"react-dom": "*"
}
"devDependencies": {
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"peerDependencies": {
"react": "*",
"react-dom": "*"
}
8 replies
TTCTheo's Typesafe Cult
Created by oa on 10/23/2022 in #questions
error while developing a react component library
i suspect it has something to do with mismatched react versions
8 replies