Skip to content

Create id propType checker to ensure value begins with a letter #640

Closed

Description

@cjcenizal

#637 surfaced an issue in which numeric IDs are not compliant with HTML 4. We can create a propType checker for the id prop which will warn the consumer when a numeric value is provided.

Activity

  1. chandlerprall commented on Sep 18, 2020

    @chandlerprall
    Contributor

    Closing this due to moving away from explicitly writing propTypes, and the fact that HTML5 does support numeric IDs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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