Closed andreyvital closed 5 years ago
This would have to be an enhancement to the SDK (filestack-js), since the picker code is loaded at runtime over the network. We have had a similar request to provide the picker assets within the SDK for manual bundling, or to at least offer a separate SDK bundle with the picker code already included. We will be tracking this as an enhancement to filestack-js, and hopefully we can offer it as a fast-follow to the 1.0 release.
Thanks, @velveteer. That'd be great!
Is it possible now ?
@CentaurWarchief @nidhi-ag Hey guys, You should check out a new 2.0.2 release with newly added preload option. Now you can control if assets like scripts or styles should be injected at mount or rather on click event.
Hey guys, I'd like to preload filestack client before the user hits the button for picking a file. This improves our UX since there's a tiny delay between the client load and the actual picker UI render