Plasmic app & studio white page for stalled API call

I’ve been implementing my webapp for days now and today I got into queries.

They used to work until they didn’t no more. I was editing another page and when I navigated to the profile page a HTTP call got stalled, and then another, and another.

Now, whenever I try to access the deployed app on the profile page, I get a white page and my CPU and RAM go crazy.
In Studio, I see this error. Once entered, the Studio app is completely frozen.

This is the app link:
heyoka.plasmic.run/profilo - “profilo” is the link to the broken page

Homepage - Heyoka - Plasmic - “Profile” page is the one having problems.

My queries are just Plasmic CMS API calls, no other integration is involved.

Did I do something wrong or is this a bug? Right now I can’t proceed with my developments :confused:

Thanks

Hi @davide_angelillo, thanks for the report. We have been working on a new query system, which may have interfered with the way the current data queries work. We’ll look into it, sorry about that!

Hi @davide_angelillo, I reverted your project to just before the issue. There was a problem with one of your new data queries, which referenced a non-deterministic value such as new Date(). When this happens, it may cause your component to re-render continuously as the app keeps thinking some data changed.

Hi @jason ,

I still see the old version, in fact I still get the same error, dunno if it’s caching or smt.

About the implementation itself, how would I filter with queries for entities with a “future date” if I can’t use new Date() in queries?

Thanks

Hi @jason ,

excuse me, is there any news?

@jason is there any news?

Hi, you can use new Date(), but you need to make sure that it doesn’t result in a different result in every render.

And yeah I see that page is still broken :confused:

Do you want me to manually remove the queries on that page?