It would be nice if we had a prop that delays calls to onSuccess/onError (and delays switching out content) until it is set to true (or something like that).
I have a use case where i have to do some other preloading tasks in addition to preloading images, where it would be nice if the preloader component would stay mounted even when images have already been loaded, until i tell it that it is ok to switch. Does that make sense? :)
It would be nice if we had a prop that delays calls to onSuccess/onError (and delays switching out content) until it is set to
true
(or something like that).I have a use case where i have to do some other preloading tasks in addition to preloading images, where it would be nice if the preloader component would stay mounted even when images have already been loaded, until i tell it that it is ok to switch. Does that make sense? :)