News for hackers. Stuff that matters.
Re:What should go into JSX 2.0? by ponyous on Sunday October 16, 2016 @12:28PM (#12719384)
If you render a more complex component this introduces another level of indentation. I can see why some people would prefer cleaner code but in my opinion, indenting ifs is a good thing as it increases the readability and allows you to spot if statements faster.
Re:What should go into JSX 2.0? by zackify on Sunday October 16, 2016 @01:06PM (#12719612)
this is why you should be using immutable js. It will not throw errors accessing an object.