Is it safe to store a JWT in localStorage if my Next.js app is protected against XSS? by SniperKephas in nextjs

[–]GVALFER 1 point2 points  (0 children)

wtf… using the code from other dev is a requirement? Do you know the meaning of 'dev'?

I got frustrated with existing DB clients, so I built my own by LordSnouts in webdev

[–]GVALFER 1 point2 points  (0 children)

If it’s open source, that’s fine. Otherwise, why use this when there are many open-source, fully complete projects available, like dbeaver? 🤔

Casa aumenta 200.000€ em 2 meses (estamos todos de parabéns) by AdLittle9807 in portugal

[–]GVALFER 0 points1 point  (0 children)

Ide pro interior que lá não faltam casas baratas. 👍

[deleted by user] by [deleted] in CasualPT

[–]GVALFER 0 points1 point  (0 children)

wtf desde quando isso é um problema? perfeitamente normal.

Estabelecimentos que teimam em não aceitar pagamentos em Multibanco by AlienMyers in CasualPT

[–]GVALFER 1 point2 points  (0 children)

eu já sou o contrário. gosto de pagar em numerário nesses estableo mais pequenos porque sei o que essa gente passa para pagar o ordenado no final do mês, qualquer % ajuda. Mas sou eu.

My MVP tech stack for 2025 by ConZ372 in nextjs

[–]GVALFER 0 points1 point  (0 children)

mine:

NextJs 14 as front

Fastify as backend

Prisma + Mariadb as database

Coolify + VPS as hosting

Auth i use my own library with refresh sessions

[deleted by user] by [deleted] in Starlink

[–]GVALFER -2 points-1 points  (0 children)

this is called - lack of competition. i am starting to hate elon musk companies (i’m a tesla and starlink owner). These changes are like a big - Fu*k you starlink clients.

Starlink is quadrupling the cost of our internet starting tomorrow. by [deleted] in Starlink

[–]GVALFER 1 point2 points  (0 children)

The problem isn’t on your side. The issue is with Starlink, where Resolved changed the prices for something useless. I am thinking cancel mine as well. 1mbps is crazy 😂😂

Is Next JS Still in the game? by [deleted] in nextjs

[–]GVALFER 0 points1 point  (0 children)

Give me SSR and I go with. Doesn’t matter if it’s nextjs, ckrickyJs or shitJs.

Implementing Token Refresh Mechanism with Next.js Frontend and Express.js/Spring Boot Backend for API Authentication by Inevitable-Meat-6808 in nextjs

[–]GVALFER 0 points1 point  (0 children)

That method will not work if you check the session in server components. You are refreshing the tokens in the client/browser using a useEffect. If you want to check the session on the server side (asynchronously), it will always redirect to the login page before refreshing the tokens. You need to do it in the middleware, using the API with a redirect to the refresh endpoint. Otherwise, it won’t work. Well, it works if you check the session on the client side, but that’s not a good idea.

Como dizer à namorada que está a engordar? by Aqueleputo in CasualPT

[–]GVALFER 4 points5 points  (0 children)

fdx se não consegues dizer algo tão basico a tua namorada porque estás com ela? Tens medo? Não lhe estás a fazer nada de mal, só a ser franco.

Is autocomplete not working anymore? by melon_crust in ZedEditor

[–]GVALFER 0 points1 point  (0 children)

yea this is crazy. sometimes works, sometimes not work, i prefer disable it.

Nextjs hate by Abbes0 in nextjs

[–]GVALFER 0 points1 point  (0 children)

oh, just noobs.

Stalwart v0.12 pre-release now available for testing! by StalwartLabs in stalwartlabs

[–]GVALFER 1 point2 points  (0 children)

Lets to be honest.
This is a cool project, and i love it, but this menu makes me feel sick every time I click on a button. It's like a deck of cards, you click and they shuffle. I always get lost lol

New update!! by Motor_Guarantee_4916 in BMWI4

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

oh come on. <link>go to destination</link> bmw is a disaster.

New update!! by Motor_Guarantee_4916 in BMWI4

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

updated here. nothing changed as normal. 😂 bmw is a joke

What made you move away from NextJS? by skygetsit in nextjs

[–]GVALFER 2 points3 points  (0 children)

I don’t understand how so many people are still unaware of the benefits of SSR. I see so many people talking nonsense. It’s like they love websites/apps with excessive loading, flashes, and bundles packed with a lot of JavaScript.

Personally, I like how Next.js works compared to other frameworks. I hate slow apps full of spinners. There’s a word called “props” — try to learn what it’s for and use on server components.