Skip to content

TypeError: React.createClass is not a function #12

Description

@sbmthakur

./node_modules/react-videojs/dist/index.js
node_modules/react-videojs/dist/index.js:8

   5 | var blacklist = require('blacklist');
   6 | var React = require('react');
   7 | 
>  8 | module.exports = React.createClass({
   9 |   displayName: 'VideoJS',
  10 | 
  11 |   componentDidMount: function componentDidMount() {

I think this is due to the changes in react. Any plans to handle this?

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions