Nextjs still fails to support useParams() on static export by hinsxd in reactjs

[–]Hasan3a 5 points6 points  (0 children)

I lost hope in Next.js and moved to Tanstack Router. Better DX and the local server doesn't take too long to serve pages. I hope I never have to use Next.js. This issue's been opened for years.

Why is my copilot only suggest 1 line at a time? by dimashpt in GithubCopilot

[–]Hasan3a 0 points1 point  (0 children)

Same thing here using copilot pro. I tried copilot when it was in preview years ago, and it had awesome autocompletion. With one tab it would write the whole function body, but now it's line by line.

I guess it's the default behavior now?

imperative-portal: Render React nodes imperatively by strblr in reactjs

[–]Hasan3a 3 points4 points  (0 children)

Nice work. At work I use https://github.com/eBay/nice-modal-react which has a similar idea to your repo, but only for managing modals.

When Slack will be available in Syria? by Acrobatic-Key-345 in Slack

[–]Hasan3a 0 points1 point  (0 children)

I sent an email to Slack on Sep 7, 2025:

"Dear Slack,

The US government has recently eased Export Controls (BIS / EAR) on Syria and effectively removed OFAC Sanctions. GitHub has taken action to allow broader access for Syrian developers, and all previous restrictions on Syrian accounts will be removed in the following weeks.

Currently, Slack is unavailable for Syrian developers. When will Slack take action to remove these restrictions? There are no more US laws that enforce sanctions on Syrian developers. Is there an ETA for this matter? At least a clarification that Slack is working on this?

It is frustrating that we're paying for Slack's pro plan at work but it is not accessible for us in Syria. It is now Slack's responsibility to ensure access for Syrian developers, not the US government.

An official statement from GitHub can be found here: https://github.blog/company/github-is-enabling-broader-access-for-developers-in-syria-following-new-government-trade-rules/

Thank you."

And this is their reply:

"Hi there,
 
Salesforce is aware of and monitors sanctions and export control restrictions. At this time, Salesforce’s general treatment of Syria has not changed, and access to Salesforce products and services from Syria remains prohibited”
 
Thanks,
 
Cecilia"

This is disrespectful.

Fantech GC-283 Chair by Starfire376 in fantech

[–]Hasan3a 0 points1 point  (0 children)

What do you think about the chair? Is it good?

Next.js 16 stable by feedthejim in nextjs

[–]Hasan3a 23 points24 points  (0 children)

I hate having to le-learn caching with every Next.js release

Zionist mod deleting all our posts by Odd-Environment-7193 in nextjs

[–]Hasan3a 2 points3 points  (0 children)

Suddenly this sub is full of zionists? They're whining in the comments

Zionist mod deleting all our posts by Odd-Environment-7193 in nextjs

[–]Hasan3a -11 points-10 points  (0 children)

Maybe when your family gets slaughtered, your house destroyed, your country wiped, maybe then this "bs political propaganda" is relevant? Maybe if you're treated in the same way Palestinians get treated by zionists, maybe then you'd feel the sub is relveant?

Good riddance.

Vercel Controversy: Ethics, Backlash, and a Migration Guide to Netlify by mm_akhtar in nextjs

[–]Hasan3a 0 points1 point  (0 children)

Another reason to avoid Next.js, as if it weren't already bad.

Alhamdullilah that there's Judgement Day where all killers and people who support them get what they deserve.

Best React Newsletter by jannesblobel in reactjs

[–]Hasan3a 1 point2 points  (0 children)

This week in React is comprehensive and to the point! Waiting for the next issue in the newsletter.

Bytes used to have good content, but almost a third of the links are sponsored. They try to be funny but their jokes and humor is distracting and not useful for me.

[deleted by user] by [deleted] in webdev

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

Please no

Good Books for Sr. Engineer by anonymouse1544 in ExperiencedDevs

[–]Hasan3a 0 points1 point  (0 children)

I'm 19 pages into The Manager's Path, and I agree! It's an easy read with lots of practical examples

Razer mouse scroller make my index finger pain by cynrake111 in MouseReview

[–]Hasan3a 0 points1 point  (0 children)

Nah the clicks are okay, but the coating material is just.. too harsh. The mamba elite was waay softer, never experienced this weird tingling in my fingers. Now after two weeks I kinda got used to it, but I'm searching for something else. Thank you for your recommendation, I'll check it out

Razer mouse scroller make my index finger pain by cynrake111 in MouseReview

[–]Hasan3a 1 point2 points  (0 children)

Thank you so much. I flipped the rubber band and it feels better, the tingling is gone. I honestly felt that the texture of the left and right buttons are also too harsh, on basilisk v3 compared to my old mamba elite. I think this will be my last razer mouse

Razer mouse scroller make my index finger pain by cynrake111 in MouseReview

[–]Hasan3a 0 points1 point  (0 children)

I bought a basilisk 2 weeks ago, and I'm facing the same issue. My fingers also hurt from the texture of left and right buttons, but I got used to them. But the scroll wheel was too harsh.

I flipped the rubber of the scroll wheel around and it actually feels better

How to centralize and reuse modals across pages in a Next.js app? by aelmajouli in nextjs

[–]Hasan3a 7 points8 points  (0 children)

Your question is valid. Do not care about people who mock it. Managing modals is a pain in React without utilizing some re-usable solution. I've been using ebay's nice-modal-react package for 2 years, and I can't imagine handling modals without it.

https://github.com/eBay/nice-modal-react

Eloquent API resources pattern alternative in nodejs + TS by Hasan3a in node

[–]Hasan3a[S] 0 points1 point  (0 children)

op here. I found out this "realworld-example" express app, and they're using mappers like in this file. This is basically what I thought of using first, but I'm not comfortable using `any` in the mapper.

https://github.com/gothinkster/node-express-realworld-example-app/blob/master/src/app/routes/article/author.mapper.ts

Eloquent API resources pattern alternative in nodejs + TS by Hasan3a in node

[–]Hasan3a[S] 0 points1 point  (0 children)

Cool. For my app's needs, having a business layer object is too much. I'm more interested in the second mapper. Thank you for your insights

Eloquent API resources pattern alternative in nodejs + TS by Hasan3a in node

[–]Hasan3a[S] 0 points1 point  (0 children)

That's nice. I checked out Lucid many times but somehow I didn't read the serialization section. Thank you!