Skip to content

Doesn't work with create-react-app #69

Description

@zeachco

Just importing it fails
reproducible: always
Uncaught TypeError: Super expression must either be null or a function, not undefined

example :

npm i -g create-react-app
create-react-app example
cd example
npm start

works as expected

then do
npm i -S react-bootstrap-validation

and modify the src/index.js adding just the import

import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
import './index.css';
import {Form, ValidatedInput} from 'react-bootstrap-validation'; // <--- this breaks

ReactDOM.render(
  <App />,
  document.getElementById('root')
);

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