DEV Community

Discussion on: Stop returning NULL components

Collapse
 
bharati21 profile image
Bharati Subramanian

Good article!
Wanted to know if there's an actual way to measure the performance when you use nullish coalescing/ &&/ return null ?

Also, I wonder why the docs have mentioned returning null, when it seems like a bad practice. Do you think it has any practical use cases?