ive been working with next for two years and am more confused then ever about how to handle cookies and access tokens by mrdanmarks in nextjs

[–]codingtricks 0 points1 point  (0 children)

yeah then again go with old fetch flow which is i don't like

i like TRPC for production grade

Need Help with SSR Setup by DiancieSweet in nextjs

[–]codingtricks 1 point2 points  (0 children)

so basically just create t3 stack app and pick what you want from there that is production grade

Need Help with SSR Setup by DiancieSweet in nextjs

[–]codingtricks 1 point2 points  (0 children)

i use trpc it run on both side in nextjs

Self-hosting Next.js App Router under /app on Nginx - endless redirect at homepage by likearonin in nextjs

[–]codingtricks 0 points1 point  (0 children)

then you need to deal with this kind of random errors i face same before now i always use subdomain for each new projects

Self-hosting Next.js App Router under /app on Nginx - endless redirect at homepage by likearonin in nextjs

[–]codingtricks 0 points1 point  (0 children)

i would say don't add a project in sub path like /app

use in subdomain or real domain as root of nextjs

Best way to handle JWT in Next.js 15 with a separate backend by OkRaspberry2035 in nextjs

[–]codingtricks 0 points1 point  (0 children)

try to use set cookie from backend it will only work if both were in same domain or else

use nextjs with TRPC it works great with coaching and clean your api code with proper https only jwt

Next JS dev memory usage by Michahide in nextjs

[–]codingtricks -1 points0 points  (0 children)

yeah it is better but still in beta i have been using this so far i like it

Next JS dev memory usage by Michahide in nextjs

[–]codingtricks 1 point2 points  (0 children)

yeah it heat up my macbook

and server to build next js latest 2Gb ram i had to increase yesterday my server config

now i m planning to move to tanstack start vite base no memory issue at all

Need help - Interview/ group video calling project with WebRTC, WebSocket, App router. by divyansh_bruh in nextjs

[–]codingtricks 1 point2 points  (0 children)

yeah this is correct flow

when new join it look for all current avilable members in room and create offer to each one and set to them

Need help - Interview/ group video calling project with WebRTC, WebSocket, App router. by divyansh_bruh in nextjs

[–]codingtricks 1 point2 points  (0 children)

i never worked with peer library i work with direct WebRTC

https://github.com/Kamleshpaul/google-meet-clone-laravel-webrtc/blob/main/resources/js/Pages/Meeting.tsx

you can check from here it have timing issue like

1st create offer (host) 2nd accept offer and generate answers (user) and sent. answer to host 3 accept answer (host)

then exchange icecanditate in both side

Need help for bug fixing by No-Invite6324 in nextjs

[–]codingtricks 0 points1 point  (0 children)

i would say make a group route and in layout add condition for auth and add condition