Multiple plugins vs multiple instances
See original GitHub issueHey @goto-bus-stop @arturi, back again with a question. I was trying to upgrade my code to use the AwsS3 plugin (currently, it was only using the Transloadit plugin and no UI), and got stumped on one thing.
Can I use both the AwsS3 and Transloadit plugin on the same instance? In other words, something like this -
const uppy = Uppy({ autoProceed: true })
.use(Tus10)
.use(Transloadit, transloaditParams)
.use(AwsS3)
// ... bunch of .on handlers
.run()
In this case, what happens when I do addFile
? Does it use the S3 plugin or the Transloadit plugin? Or is that not recommended?
If not, my alternative solution was creating two components - <S3Uploader />
and <TransloaditUploader />
each of which would initialize a separate Uppy instance. Do you see any issues with multiple instances of Uppy running? Perhaps with the Redux store setup?
Thank you!
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Using Multiple Instances of the Same Plugin
Sometimes it's useful to use multiple instances of the same plugin, one right after the other. It helps in cases where you want...
Read more >Multiple Instances of plugins versus Multitimbral Instruments
I want to know about the pros and cons of creating multiple instances of software instruments compared to creating the Multi-timbral version of...
Read more >Running multiple Instances / using Standalone and Plugin ...
You can have multiple instances in the same process be the master, for example multiple instances in your sequencer. However, if any instance...
Read more >Should you use Large Plugins or Multiple Small Plugins?
There is a lot of controversy around large plugins being worse than multiple small plugins, but is it true?
Read more >Solved - One big plugin or multiple small plugins - SpigotMC
Currently I am developing a big plugin that consists of multiple “modules” (chat, bans, fun commands and etc), packaged as one big plugin....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Any update on the question of @mrsweaters? I need different destinations for video/images.
I’m experiencing the same issue. Is it possible to have multiple uploaders and specify which uploader based on file type?
For instance: