-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uppy Dashboad Component and its other React components are not working #1113
Comments
I'm seeing the same thing too |
Thanks for the report! It looks like the same problem as #991. I haven't been able to reproduce it earlier but I'll give it another attempt. I'll close this in favour of #991. As an aside: export default props => {
const uppy = Uppy({
meta: { type: "avatar" },
autoProceed: true
});
uppy.use(Tus, { endpoint: "https://master.tus.io/files/" });
uppy.run();
return <Dashboard uppy={uppy} />;
}; Initializing Uppy in the export default class extends Component {
constructor(props) {
super(props);
const uppy = Uppy({
meta: { type: "avatar" },
autoProceed: true
});
uppy.use(Tus, { endpoint: "https://master.tus.io/files/" });
this.state = { uppy };
}
render() {
return <Dashboard uppy={this.state.uppy} />;
}
} It's a common mistake so we should call it out more explicitly in our React docs… Also, |
@andrew-oko-odion I had the same issue on ejected create-react-app with @uppy/react 2.9.0. Tried also 2.6.0, 2.7.3, 2.8.0 without success. Experiments with uppy modules did narrow the issue down to The solution was to edit webpack config and apply CRA fix facebook/create-react-app#5258 to re-enable Kudos to @arqex for for pointing me in the right direction in his post on |
"
The text was updated successfully, but these errors were encountered: