Skip to content

Problem with '__reactAutoBindMap' #7

@nikoloza

Description

@nikoloza

Hello, when I define modal as a 'react-modal-component' and then use it inside my render() function as a

var Modal = require('react-modal-component')
// ...
render() {
  return (<Modal transitionName="fade">content</Modal>)
}

It throws an error like this:

Uncaught TypeError: Cannot read property '__reactAutoBindMap' of undefined

which comes from here

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