Forum Documentation Showcase Pricing Learn more

Bubble loads images when it is not needed

Seems for optimization reasons @bubble load images before the dynamic value of the path is set. This leads to two issues:

  1. Bubble loads image an image that is not visible and never would be visible because some condition will not hold. This leads to unnecessary calls and slowdown of the page
  2. Bubble loads an image with dynamic value even if the value is not defined. Let say the dynamic path of the image is /.png. Bubble will fire a call to /.png which will be failed and when variable x is set then it will load the correct image.