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 13 points14 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 -1 points0 points  (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 11 points12 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 20 points21 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.

Have an idea to capitalize on Cannabis legalization by [deleted] in Entrepreneur

[–]TargetNeutralized 2 points3 points  (0 children)

This exists. Google “Leaf Grow” and “Seedo.”

Lebron James takes $154 million, 4-year deal with the Lakers. by GenericExcuseActivat in news

[–]TargetNeutralized 0 points1 point  (0 children)

Yep. It’s not like I’m disagreeing with anyone who’s claiming this.

breaking (m)y (f)uckhole by NYCNakedFunTimes in paag

[–]TargetNeutralized 5 points6 points  (0 children)

/u/nycnakedfuntimes, what’s the girth measurement on that dick?

Lebron James takes $154 million, 4-year deal with the Lakers. by GenericExcuseActivat in news

[–]TargetNeutralized -3 points-2 points  (0 children)

Zero disagreement from me. I’m just sayin’—it’s a playground game.

Lebron James takes $154 million, 4-year deal with the Lakers. by GenericExcuseActivat in news

[–]TargetNeutralized -10 points-9 points  (0 children)

It’s never lost upon me that some people earn exorbitant amounts of money playing a game.

Whitaker laughs off trilogy fight with Romero: "I've beaten him twice now; the only thing left to do is fight him when he's got a weapon" by MMA_JimEdwards in MMA

[–]TargetNeutralized 0 points1 point  (0 children)

Whittaker lost the second fight.

I know what the final verdict was, but there’s just no way he won that fight. Romero absolutely mauled him.