react-hyperscript-helpers icon indicating copy to clipboard operation
react-hyperscript-helpers copied to clipboard

Purpose of isRendered?

Open martindederer opened this issue 5 years ago • 0 comments

Hi,

what's the idea behind the "isRendered" property?

Wouldn't it be more straight forward to do this

shouldDisplay &&
h(Khaled)
// -> null

instead of this

h(Khaled, { display: false });
// -> null

?

Am i missing something or is this just personal preference?

martindederer avatar Oct 08 '20 15:10 martindederer