Skip to content

When a props property is undefined, component does not render the received style. #749

Closed
@hareku

Description

@hareku

Version

3.0.0-alpha.5

Reproduction link

https://codepen.io/hareku/pen/PoqGdYB

Steps to reproduce

  1. Render ChildWithProps.
  2. Render ChildWithoutProps.

What is expected?

The span elements of ChildWithProps and ChildWithoutProps should have `style="font-size: red".

What is actually happening?

ChildWithoutProps does not have `style="font-size: red".


I think, even props is undefined, components should work the same as ChildWithProps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions