Closed
Description
Current Situation
Currently None
within reactpy.html
elements get rendered as the text literal None
, rather than doing nothing.
Tangentially related:
- Allow NoneType and Iterable returns within components #538
- Allow component to return None in order to render nothing #459
Proposed Actions
We should treat None
as a positional placeholder that does nothing. We need to make sure that it doesn't mess up how we auto-generate positional keys.
If we want to handle this server-side, we can substitute it with html._
as a quick-n-easy hack.