DEV Community

Cover image for What's wrong Forem/DEV? #4
Wj
Wj

Posted on

1

What's wrong Forem/DEV? #4

I didn't point that out earlier 😅...

But now I did. Issue:

When I load into my own profile, it would first show a follow button although it was just a split second. When I clicked on it, it would turn grey as if I had followed myself!

Screenshots:

Follow

Affects on usage:

None.

Top comments (2)

Collapse
 
joelbonetr profile image
JoelBonetR 🥇 •

Ad it is built as PWA I'd say it's either cache or default state, then it probably checks that it's effectively you and mods the UI accordingly.

There are backend checks that deal to dead paths to avoid both weird data into the DB and runtime errors so won't mind much.

I'll not be able to use a PC for some days (out of home) but maybe you can open the network tab in Chrome's DevTools with the recording ON and see what kind of request -if any- does it perform in that situation and what's the response if you're curious about getting more details on the approach; to see if the endpoint is stand-alone and throwing an error plus the client ignoring what could allegedly be a misbehaviour or if it's the endpoint the one ignoring it.

Another option is the client setting the request in queue and validating it after getting the required server information, in which case no request should be performed at all.

Best regards

Collapse
 
wjplatformer profile image
Wj •

Thanks ✅

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay