how to use bun or elysiajs with t3stack ?
Discord bot stack
Cors-like error in server actions + github codespaces
``js
x-forwarded-host header with value
domain…-3000.app.github.dev does not match
origin header with value
localhost:3000` from a forwarded Server Actions request. Aborting the action.
POST /testing 500 in 7ms...How to type react element arguments
const Example = (guid : string) => { ... }
const Example = (guid : string) => { ... }
transformations
does nextAuth provide phone otp authentication?
Rich Text in Postgres DB
Data Fetching Patterns for User Session
Where to host a static website for my company?
tRPC route undefined at runtime
[ Server ] Error: Cannot read properties of undefined (reading 'getAllForUser')
for a trpc query I added. It's the same getLatest
query for posts just changed to findMany
instead of findFirst
. I'm struggling to figure out what could make the site compile and have getLatest working but then have getAllForUser
missing at runtime. The site is working fine locally using railway db and discord auth and only breaks once I try to add a component for getting all user books (reworded from the posts example)
Repo public here
https://github.com/TiKevin83/DiveableNext/blob/e664211df268ff843544db98c0baeec9a11f4d2e/src/server/api/routers/book.ts#L29...How to modify the fetch function for client uploads so I can include credentials
http-only
cookie based auth for my JWT storage and had to fallback to local storage just so I could send my token over the wire from the file upload dropzone in the react code to my Fastify app. I use the token to validate that the user is authenticated and then upload the url to my db.
Obviously storing the token in local-storage is less secure than an http-only cookie, but I cannot seem to include credentials in the uploadthing component. ...RFC: Does this syntax make sense?
How to get OpenAi API Key
Which Theo videos should I watch to learn more about react performance optimizations (i.e. useMemo)
Add React to .NET Api
/
route (or better any out that's not /api/*
). There is some info from microsoft but that almos exclusively to creating a new combined empty project with an VisualStudio template, but i don't want a new empty .NET app and i don't have VS.wwwroot
folder
```C#
var builder = WebApplication.CreateBuilder(args);
...
var app = builder.Build();...Nextjs deployment on Docker
Error: The string to be decoded is not correctly encoded when using @clerk/nextjs in Next.js 15.0.3
⨯ Error [InvalidCharacterError]: The string to be decoded is not correctly encoded. at (rsc)/./node_modules/@clerk/nextjs/dist/esm/server/constants.js (/app/.next/server/vendor-chunks/@clerk.js:615:1) ...
⨯ Error [InvalidCharacterError]: The string to be decoded is not correctly encoded. at (rsc)/./node_modules/@clerk/nextjs/dist/esm/server/constants.js (/app/.next/server/vendor-chunks/@clerk.js:615:1) ...
Struggling to Choose a Type-Safe Backend for a Podcast Streaming Service Without a Monorepo
UT dropzone error for unaccepted file types
Something went wrong. Please contact UploadThing and provide the following cause:"TypeError: undefined is not an object (evaluating 'data[0].key')"
Something went wrong. Please contact UploadThing and provide the following cause:"TypeError: undefined is not an object (evaluating 'data[0].key')"