by rjerue · 5y ago · 0 comments
On another note, I'd suggest ternaries with explicit null returns. Just need to get burned by it once to have it engrained! https://kentcdodds.com/blog/use-ternaries-rather-than-and-an...
What ifs are what ifs ;)
Fair point on the ternaries, I use that too when it makes sense.