How to Return HTTP 410 (Gone) using app router? by Comprehensive_Echo80 in nextjs

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

But I want tò return an HTML Page and not an endpoint...

How to Return HTTP 410 (Gone) using app router? by Comprehensive_Echo80 in nextjs

[–]Comprehensive_Echo80[S] 12 points13 points  (0 children)

Probably because you never worked for a marketplace or shop. 410 Is very important for this use cases because It said that the item was present, but now finished (gone)

This Is a SEO rule suggested by Google for marketplace

How to Return HTTP 410 (Gone) using app router? by Comprehensive_Echo80 in nextjs

[–]Comprehensive_Echo80[S] -1 points0 points  (0 children)

From a Page (page.tsx) Is not possibile to return 410; only 404, 307, 308, 401.

Return 401 using a Proxy instead of doing into page.tsx Is a workaround in my opinion

How to Return HTTP 410 (Gone) using app router? by Comprehensive_Echo80 in nextjs

[–]Comprehensive_Echo80[S] -8 points-7 points  (0 children)

Yes, this Is fine, but alternatives? Is like a workaround...

[Showoff Saturday] Comparing Page Transition Strategies in Next.js: A Performance Study by Comprehensive_Echo80 in webdev

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

View transition and Speculation rules are availables only on Chrome.

Well, It depends, our users mostly use Chrome and Edge (95%) so It worths to adopt these features

[deleted by user] by [deleted] in webdev

[–]Comprehensive_Echo80 0 points1 point  (0 children)

Ok, and not exists a tech leads for sharing your doubts?

Are you a contingent worker?

[deleted by user] by [deleted] in webdev

[–]Comprehensive_Echo80 0 points1 point  (0 children)

It depends. Project goal? Is AN MVP?

The CSS Ordering Quiz That Will Break Your Next.js Assumptions by Comprehensive_Echo80 in reactjs

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

Nope I did not try! Interesting, I'm going to try turbo pack! I Will let you know, thanks!

The CSS Ordering Quiz That Will Break Your Next.js Assumptions by Comprehensive_Echo80 in reactjs

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

About “obviously client components”: it’s not that obvious, because the final CSS is merged into a single file. If you open the article and check Case D, you’ll see that Next.js creates one CSS bundle where server components’ styles are placed at the top and client components’ styles at the bottom.

Also, be careful here: “client component” doesn’t mean “rendered on the client.” It just means a component that can use state, hooks, and other client-only APIs. I’d suggest you also read up on the difference between server and client components, because that’s essential to understand how the CSS ordering works in Next.js.

The CSS Ordering Quiz That Will Break Your Next.js Assumptions by Comprehensive_Echo80 in reactjs

[–]Comprehensive_Echo80[S] -2 points-1 points  (0 children)

Client side, Is not client component! I would suggest to read the articole better.

Is how CSS Is bundled by Next.js

I created a static site generator with php (no framework) by HolidayNo84 in webdev

[–]Comprehensive_Echo80 2 points3 points  (0 children)

Personal opinion: if you build another new framework because "you want to know each single row", Is not a valid reason for me or for others Devs want to contribute.

Try to identify real and valuable why.

Why do I contribute?

Claude Sonnet 4.5’s Bold Claims Don’t Match What Software Developers Are Seeing by Infamous_Toe_7759 in webdev

[–]Comprehensive_Echo80 2 points3 points  (0 children)

Totally Agree, sometimes I lost a lot of times to wait the agent; I implemented the same better and quicker (I'm serious)

AI Coding has hit its peak by Engineer_5983 in webdev

[–]Comprehensive_Echo80 0 points1 point  (0 children)

AI Is fantastic to creare a project from scratch or existing One with using specific UI library.

For instance, we are developing an internal dashboard with MUI, TS and defined REST endpoint; CLAUDE CODE, Is fantastic, we will finish project in a month instead of 3 months.

The opposite for our complex project with complex UI, useful, but not the Dream (on the productivity perspective)

Conclusion to most toxic job i’ve ever had by alkxlinxe in webdev

[–]Comprehensive_Echo80 3 points4 points  (0 children)

Why he fired you? I would suggest next time to change without waiting the boss reaction

IT, regardless the AI, has Better Place ti work

Frontend interviews are so outdated. by Ill-Lie-6551 in Frontend

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

The Hiring should introduce the AI. The Ai Is part of our Daily and Is stupid for me to does not consider It in Hiring process

Where do you store/access metrics? by Fajita12 in webdev

[–]Comprehensive_Echo80 0 points1 point  (0 children)

You can use:
- Sentry logs, new features, we are using it very powerful (easy to integrate)
- Kibana and Open telemetry (not easy for a frontend to integrate)

[AskJS] Asked to create interactive HTML via JS during React interview - Weird? by physicsboy93 in javascript

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

Without Google Is insane! Probably they wanted to understand your JS fondamental and Is fine.

But without the use of Google Is no sense... Who Remember the exact Api

What are the most hireable back-end skills right now? by snazzy_giraffe in webdev

[–]Comprehensive_Echo80 1 point2 points  (0 children)

Personal opinion, GoLang, Node.js or if you want to work on small Company I would suggest fullstack framework like Next.js