News for hackers. Stuff that matters.
Re:A better way to represent loading state in ReactJS/Redux ... by errnesto on Sunday June 18, 2017 @10:19AM (#14580730)
I would say the nice thing here is the type system.

I always use `null` to differentiate between an empty list or string and nothing.

I like when I have a type system that ensures I check for null etc. But I only work on very small projects so this works well in js for me as well.

There are no comments on this comment yet.