Skip to content

Usage of deprecated function React.createClass #46

Open

Description

@rmindel

In option.js there's a use of React.createClass, using your package gives this warning -

Warning: exports: React.createClass is deprecated and will be removed in version 16. Use plain JavaScript classes instead. If you're not yet ready to migrate, create-react-class is available on npm as a drop-in replacement.

Activity

  1. rek commented on Aug 11, 2017

    @rek

    Working on an upgrade. Will be a PR here soon.

    EDIT

    Here is the PR: #48

  2. johndturn commented on Sep 18, 2017

    @johndturn

    What's the status of this PR? I'm waiting for it to be finished off prior to using it in a project I'm working on.

  3. rek commented on Sep 20, 2017

    @rek

    It looks like this project is not maintained anymore, so it might be a while before this get's merged. But I am using the build from that PR in my current projects already.

  4. ryankshaw commented on Sep 14, 2018

    @ryankshaw
    Contributor

    as of 2.5.0, this can be closed now

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