Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Setting className to null on an element renders an element with a class of "null" #31

Open
@mnquintana

Description

@mnquintana

Steps to Reproduce

  1. Return this JSX in your component's render function
<li className={null}></li>

Expected

The component renders <li></li>

Actual

The component renders <li class="null"></li>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions