Proposal from @bedrich-schindler and @mbohal.
In dependent projects, we often question whether null is correct default value for "empty values" and we ofter suggest to use undefined instead. This is something we would like to introduce into React UI.
Main advantage is that undefined does not propagate into DOM, while null does and it results in console errors.
Proposal from @bedrich-schindler and @mbohal.
In dependent projects, we often question whether
nullis correct default value for "empty values" and we ofter suggest to useundefinedinstead. This is something we would like to introduce into React UI.Main advantage is that
undefineddoes not propagate into DOM, whilenulldoes and it results in console errors.