Data Vanishing in my Toddle App...

  • alexsiale_17363-1336122415750709319

    Alex

    5 days ago

    Please watch this video: https://www.tella.tv/video/mysterious-vanishing-units-3xpy

    Data is being called from supabase, it seems to be successfully calling, but then they vanish a second later... In the toddle editor, they show. But int he preview URL or the live app, the customer or myself can't seem to keep the data there...

    Any help?
  • alexsiale_17363-1336126870797815913

    Alex

    5 days ago

    I think I fixed it... might have been an auto-fetch issue with the chain of API's being called
  • I turned off the AUTOFETCH for my GET UNITS call, and made it call when the GET USER call is successful to make sure a user was found first.

    That seems to have fixed it, but I don't know exactly the issue or solution here
  • does anyone know how to put language to this? Was it just in a inifinite call cycle or something?
  • plusmin-1336131129153028190

    Armand

    5 days ago

    I don’t have a clearcut answer whether your solution is correct or not, as I often also struggle with this.

    But in the original setup, did you try to add console logs on the API calls? Then it would’ve been easier to figure out where it was going wrong.
  • alexsiale_17363-1336131587896774790

    Alex

    5 days ago

    no haha. I should do this
  • andreasmoller-1336212732348993597

    Andreas Møller

    4 days ago

    Is the API being called twice?
  • alexsiale_17363-1336444181287276627

    Alex

    4 days ago

    I should check this now

Stop scrolling. Start building.

toddle is a visual web app builder that rivals custom code — but accessible to your entire team!

Try toddle — it's free!

© Copyright 2024 toddle. All rights reserved.