Ducky Sensei
Ducky Sensei
TTCTheo's Typesafe Cult
Created by Ducky Sensei on 11/10/2023 in #questions
Tanstack and app routing
app-index.js:32 Failed to fetch RSC payload for http://localhost:3000/. Falling back to browser navigation. TypeError: Failed to fetch
at fetchServerResponse (webpack-internal:///(:3000/app-pages-browser)/./node_modules/next/dist/client/components/router-reducer/fetch-server-response.js:55:27)
at fastRefreshReducerImpl (webpack-internal:///(:3000/app-pages-browser)/./node_modules/next/dist/client/components/router-reducer/reducers/fast-refresh-reducer.js:30:123)
at clientReducer (webpack-internal:///(:3000/app-pages-browser)/./node_modules/next/dist/client/components/router-reducer/router-reducer.js:41:67)
at Object.action (webpack-internal:///(:3000/app-pages-browser)/./node_modules/next/dist/shared/lib/router/action-queue.js:140:55)
at runAction (webpack-internal:///(:3000/app-pages-browser)/./node_modules/next/dist/shared/lib/router/action-queue.js:49:38)
at dispatchAction (webpack-internal:///(:3000/app-pages-browser)/./node_modules/next/dist/shared/lib/router/action-queue.js:105:9)
at Object.dispatch (webpack-internal:///(:3000/app-pages-browser)/./node_modules/next/dist/shared/lib/router/action-queue.js:135:40)
at eval (webpack-internal:///(:3000/app-pages-browser)/./node_modules/next/dist/client/components/use-reducer-with-devtools.js:130:21)
at eval (webpack-internal:///(:3000/app-pages-browser)/./node_modules/next/dist/client/components/app-router.js:242:25)
at startTransition (webpack-internal:///(:3000/app-pages-browser)/./node_modules/next/dist/compiled/react/cjs/react.development.js:2655:5)
at Object.fastRefresh (webpack-internal:///(:3000/app-pages-browser)/./node_modules/next/dist/client/components/app-router.js:241:48)
at eval (webpack-internal:///(:3000/app-pages-browser)/./node_modules/next/dist/client/components/react-dev-overlay/hot-reloader-client.js:243:28)
at startTransition (webpack-internal:///(:3000/app-pages-browser)/./node_modules/next/dist/compiled/react/cjs/react.development.js:2655:5)
at processMessage (webpack-internal:///(:3000/app-pages-browser)/./node_modules/next/dist/client/components/react-dev-overlay/hot-reloader-client.js:241:44)
at WebSocket.handler (webpack-internal:///(:3000/app-pages-browser)/./node_modules/next/dist/client/components/react-dev-overlay/hot-reloader-client.js:362:21)
app-index.js:32 Failed to fetch RSC payload for http://localhost:3000/. Falling back to browser navigation. TypeError: Failed to fetch
at fetchServerResponse (webpack-internal:///(:3000/app-pages-browser)/./node_modules/next/dist/client/components/router-reducer/fetch-server-response.js:55:27)
at fastRefreshReducerImpl (webpack-internal:///(:3000/app-pages-browser)/./node_modules/next/dist/client/components/router-reducer/reducers/fast-refresh-reducer.js:30:123)
at clientReducer (webpack-internal:///(:3000/app-pages-browser)/./node_modules/next/dist/client/components/router-reducer/router-reducer.js:41:67)
at Object.action (webpack-internal:///(:3000/app-pages-browser)/./node_modules/next/dist/shared/lib/router/action-queue.js:140:55)
at runAction (webpack-internal:///(:3000/app-pages-browser)/./node_modules/next/dist/shared/lib/router/action-queue.js:49:38)
at dispatchAction (webpack-internal:///(:3000/app-pages-browser)/./node_modules/next/dist/shared/lib/router/action-queue.js:105:9)
at Object.dispatch (webpack-internal:///(:3000/app-pages-browser)/./node_modules/next/dist/shared/lib/router/action-queue.js:135:40)
at eval (webpack-internal:///(:3000/app-pages-browser)/./node_modules/next/dist/client/components/use-reducer-with-devtools.js:130:21)
at eval (webpack-internal:///(:3000/app-pages-browser)/./node_modules/next/dist/client/components/app-router.js:242:25)
at startTransition (webpack-internal:///(:3000/app-pages-browser)/./node_modules/next/dist/compiled/react/cjs/react.development.js:2655:5)
at Object.fastRefresh (webpack-internal:///(:3000/app-pages-browser)/./node_modules/next/dist/client/components/app-router.js:241:48)
at eval (webpack-internal:///(:3000/app-pages-browser)/./node_modules/next/dist/client/components/react-dev-overlay/hot-reloader-client.js:243:28)
at startTransition (webpack-internal:///(:3000/app-pages-browser)/./node_modules/next/dist/compiled/react/cjs/react.development.js:2655:5)
at processMessage (webpack-internal:///(:3000/app-pages-browser)/./node_modules/next/dist/client/components/react-dev-overlay/hot-reloader-client.js:241:44)
at WebSocket.handler (webpack-internal:///(:3000/app-pages-browser)/./node_modules/next/dist/client/components/react-dev-overlay/hot-reloader-client.js:362:21)
seems to throw this also
6 replies
TTCTheo's Typesafe Cult
Created by Ducky Sensei on 11/10/2023 in #questions
Tanstack and app routing
It should be useQuery as it comes from the api/trpc/react version.
6 replies
TTCTheo's Typesafe Cult
Created by Ducky Sensei on 8/30/2023 in #questions
Connecting and managing planetscale branches
I was hoping for a cleaner solution <:hide_the_pain_harold:1103987958555619408>
8 replies
TTCTheo's Typesafe Cult
Created by Ducky Sensei on 8/30/2023 in #questions
Connecting and managing planetscale branches
You can do it but seems to not give you a direct connection from your local environment via prisma sadcat
8 replies
TTCTheo's Typesafe Cult
Created by Ducky Sensei on 8/30/2023 in #questions
Prisma/Planetscale issue
The problem is that I need something in the form of: model Org { ... allowedDomains: ["Domain 1", "Domain 2"] } Do I really have to make a new model and then do a relation to this Org model where I allow multiple inputs?
10 replies
TTCTheo's Typesafe Cult
Created by Ducky Sensei on 8/30/2023 in #questions
Prisma/Planetscale issue
Would a good solution be to Type it as a JSON and then store it as: {1: "url", 2:"url2"}?
10 replies
TTCTheo's Typesafe Cult
Created by Ducky Sensei on 8/30/2023 in #questions
Prisma/Planetscale issue
And how would I go about to handle a field that can have multiple inputs?
10 replies