Skip to content
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

Add a prop that disables loading files in memory #333

Open
HristoKolev opened this issue Nov 4, 2021 · 0 comments
Open

Add a prop that disables loading files in memory #333

HristoKolev opened this issue Nov 4, 2021 · 0 comments

Comments

@HristoKolev
Copy link

HristoKolev commented Nov 4, 2021

Feature Request

Describe the problem related to this feature request

First, I just like you to know that I really like this package, the UX it provides integrates seamlessly with the other MUI components.

I have a use case when I'm supposed to allow users to upload huge excel files. The problem is that this package reads the contents of the files to memory. I'm only interested in the File object and the memory pressure will become a problem on some devices.

Describe the solution you'd like

Add a prop that makes it so files are not read in memory, it would disable all features that require the file to be read like image previews.

Describe alternatives you've considered

The only alternative is to not use the package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant