Skip to content

Change template project to functional rather than class-based component. #6558

Description

@nonzeronucleus

The template project for create-react-app still uses React.Component in App.js.

Given that hooks are looking to deprecate class-based components, now would seem a good time to turn it into a functional component.

It look like it's a simple enough change. But before I do it, I wanted to make sure that no one else was doing this, and that there wasn't a good reason to keep App.js as class-based.

Activity

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