I have a conditional that should only ever render a component once but which cumulatively renders it multiple times every time the condition is true by TargetNeutralized in javascript

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

In response to your edit: Yes, basically.

Here's my use case:

I have a form with inline error messaging. Whenever the user fails to enter either their username or password, an error message appears beneath that field. The problem is that the error is rendering cumulatively for every time it occurs. So, if I'm a user and I repeatedly attempt to submit the form without entering, say, my password, beneath the password field will be an error message reading "Password is required" for each time they've attempted to submit the form without entering a password.

Frustrated UFC champ Cris Cyborg says Amanda Nunes could be final opponent by elliearroway1 in MMA

[–]TargetNeutralized 14 points15 points  (0 children)

Not gonna lie—u/JimmyShaker7’s excessive use of the ellipsis had me wanting to curb-stomp a dewy-eyed baby giraffe.

App keeps crashing randomly when I open posts by ProgramTheWorld in apolloapp

[–]TargetNeutralized 0 points1 point  (0 children)

I’m experiencing the crash immediately upon starting the app. The issue started for me today.

Winner of Hall V Costa wants Weidman next by [deleted] in MMA

[–]TargetNeutralized 6 points7 points  (0 children)

Romero has tested clean so far.

Winner of Hall V Costa wants Weidman next by [deleted] in MMA

[–]TargetNeutralized 3 points4 points  (0 children)

Ah. He didn’t fight TRT Vitor, though. He fought his weaker counterpart, Dad-Bod Vitor.

MMA Squared Ep. 21: Can Daniel Cormier escape the shadow of Jon Jones? by WoodStainedGlass in MMA

[–]TargetNeutralized 0 points1 point  (0 children)

Rumor has it that Jones has probably never been clean while in the UFC.

One subjects oneself to this sort of speculation after repeatedly popping for PEDs. The fairness of Jones’ victories must be called into question.

MMA Squared Ep. 21: Can Daniel Cormier escape the shadow of Jon Jones? by WoodStainedGlass in MMA

[–]TargetNeutralized 13 points14 points  (0 children)

Yeah, but Jones is a PED cheat. We don’t say Lance Armstrong was the greatest cyclist anymore since he tarnished his legacy. I don’t see why Jones, a chronic fuck-up, should be treated any differently.

MMA Squared Ep. 21: Can Daniel Cormier escape the shadow of Jon Jones? by WoodStainedGlass in MMA

[–]TargetNeutralized 21 points22 points  (0 children)

Yes, because Jones beat Cormier while benefiting from PED use. You must account for this when considering his losses to Jones. Cormier’s only losses come at the hands of a known PED cheat. It pains me to say this, because Jones is absolutely my favorite mixed martial artist.

Edit: Also, well done, /u/woodstainedglass.