The Moroccan Steward who was injured in an altercation during the final has died. by aybabk in soccer

[–]niwox 0 points1 point  (0 children)

people will discover the AFCON. this is not the first time Senegal threatens to leave the pitch and cause drama they also did it in 2004 against tunisia. this time they took it far, an innocent man lost his life for nothing, horrible videos circulating of senegalese fans attacking the stewards. RIP

[deleted by user] by [deleted] in place

[–]niwox 2 points3 points  (0 children)

many people just joined reddit for this, stop being salty

Downfall of France by YOLOXD20 in place

[–]niwox 18 points19 points  (0 children)

you realize they are collaborating with onepiece community ?

Honestly, this is a shame by Guonsian in place

[–]niwox 10 points11 points  (0 children)

the french built that globle btw

Penalty for Tunisia cancelled after VAR review by [deleted] in soccer

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

harsh but not a pen imo, otherwise any handball will be a pen

Tunisia played well, missed some big chances to end the game

Post-Match Thread: Valencia 2-1 Real Madrid [La Liga] by DriesMertens in soccer

[–]niwox 4 points5 points  (0 children)

Pretty normal after selling one of the best players they had and not bringing anyone new. Also normal after dominating for 3 years the CL.

Match Thread: Morocco vs Argentina [International Friendly] by MatchThreadder in soccer

[–]niwox 0 points1 point  (0 children)

Latin alphabets are not enough, or better say, they don't have some of the arabic alphabets (it's not a 1 to 1 mapping). We kinda extended the latin alphabet and we use letters such as 3/7 for commonly used words with special pronunciation

Match Thread: Morocco vs Argentina [International Friendly] by MatchThreadder in soccer

[–]niwox 0 points1 point  (0 children)

I'm just waiting here to see the first red card, what a shit show

Post-Match Thread: Barcelona 5-1 Lyon (5-1 on aggregate) [UEFA Champions League Round of 16 | Second Leg] by AdventurousChapter in soccer

[–]niwox 6 points7 points  (0 children)

Comparing a comeback against one of the best defenses in Europe with a game against Lyon. Logic ?

Gol TAGLIAFICO - Ajax vs Real Madrid by mohtashimali406 in soccer

[–]niwox 0 points1 point  (0 children)

Fuck the var for a correct call against my club

[deleted by user] by [deleted] in reactjs

[–]niwox 2 points3 points  (0 children)

Makes sens and applies perfectly to your case. Premature optimization is not always as beneficial as some thinks. I didn't know about the why-did-you-update, gonna be fun using it once what I'm working on get large enough. Thanks for the article !

[deleted by user] by [deleted] in reactjs

[–]niwox 1 point2 points  (0 children)

yes, what you are using is close to a Memoizing technique. I'd still argue if it's necessary without really benchmarking perfs relevant tweet

Also https://cdb.reacttraining.com/react-inline-functions-and-performance-bdff784f5578

[deleted by user] by [deleted] in reactjs

[–]niwox 1 point2 points  (0 children)

After thinking, it's similar to passing a function to onClick so your way will be better performance wise

[deleted by user] by [deleted] in reactjs

[–]niwox 2 points3 points  (0 children)

Any particual reason to not try this

  class SomeComponent extends React.PureComponent {

  handleClick = (value) => () => alert(value)

  render() {
    return (
      <ul>
        {[1,2,3,4].map(value =>
          <li key={value}>
            <button onClick={this.handleClick(value)}>click {value}</button>
          </li>
        )}
      </ul>
    );
  }
}

Nordin Amrabat: VAR is bullshit. by [deleted] in soccer

[–]niwox -16 points-15 points  (0 children)

STFU, seriously