-
-
Notifications
You must be signed in to change notification settings - Fork 327
Closed
Labels
priority-3-lowMay be resolved one any timeline.May be resolved one any timeline.release-minorWarrents a minor releaseWarrents a minor releasetype-revisionAbout a change in functionality or behaviorAbout a change in functionality or behavior
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.
Metadata
Metadata
Assignees
Labels
priority-3-lowMay be resolved one any timeline.May be resolved one any timeline.release-minorWarrents a minor releaseWarrents a minor releasetype-revisionAbout a change in functionality or behaviorAbout a change in functionality or behavior