Skip to content

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

@zeachco

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')
);

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