3 ms·
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, inde
by ponyous 10y ago
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.
- zackify 10y agothis is why you should be using immutable js. It will not throw errors accessing an object.