React Challenge 8
FYI: The reason i did this check on line 34 `this.state.users.length !== 0` is that if i just check for `this.state.users` it will always return true since the starting state is an empty array already and empty arrays are truthy. For me it made sense to either check that there is something in the array or just remove that check completely. I'd love to know what you think about that. Thank you
4
2 comments
Aaron Kagan
3
React Challenge 8
Developer Pro
skool.com/developerpro
Learn how to code. Make money. Have fun. Enjoy life.
Leaderboard (30-day)
powered by