Make it possible to completely hide an SPFx web part at runtime
It should be possible to create a web part that will decide to hide or show at runtime -- for example, when you want to say "Don't show this webpart if there are no results", and it should show no spaces or gaps in the page.
Although it is possible with CSS to approximate this, there is always a gap in the page.
I would suggest that you make the web part visible in Edit mode, regardless of its settings, so that page editors can access the web part settings.

2 comments
-
Anonymous commented
Yes this would be a nice feature. Even the 1st party News web part, which has a checkbox in the property pane to hide if there are no results, takes up whitespace on the page when there are no news stories to show.
-
Bitscape Demo commented
Have the same requirements...