My app is stucking for some time when list creates

When I create a list with dynamic components v2 , my app is stucking for some time when list creates
I am the list is dynamic and connected with airtable please suggest solution if anyone knows
Thankyou.

Assuming that there is no error in your blocks, I would say that this issue was reported earlier :point_down:

And the answer from extension developer is here :point_down:

1 Like

That’s not the case vaibhav , actually when my list creates the app freezes and when the list is fully created the app starts to work again !

Then you must show the blocks!

2 Likes

Actually the blocks are very long , it will not fit in one photo :sweat_smile:

Just download the blocks as image :point_down:

  1. Right click on any empty space in block editor

  2. From the menu that appears, choose Dowload blocks as png option

  3. Image of all the blocks will be downloaded. Just upload that image here

1 Like

Yep, it’s the same case of @Vaibhav ( me too )
Whenever you have a big list to load, it freezes the app and become Normal when the list is created.

While using Dynamic Components, I have everything came across this issue.
I and @Vaibhav also have a discussion on it :sweat_smile:
And their is no direct solution to it.
But try to optimize your blocks and make them more efficient.

2 Likes

It’s always better to load as recycler view whenever working with larger list

1 Like

Yeah @themaayur you are right but my list is only of 10 items :joy:

This should not happen only for 10 items imo.
Also i suggest you to print Loading… before creating the list.

@Vaibhav

I cannot point out the exact thing, but the most probable reason may be :point_down:

  1. You are running a procedure in another procedure

  2. Block optimization can be done at some parts.

  3. Also you are setting the images from url. This may be taking the time and so your app freezes, till all the images get set. If this is the problem, then I think you can try using this :point_down: extension by @DevYB

3 Likes

I had arrenged all blocks in one line for the first time but then my friend told me that align the blocks one by one then i done this .

Loading images takes much time, use Image Loader Extension it loads image fast and cache them too.

1 Like

U need asynchronous procedure…
I have already set out a post on it that how load data 1 by 1 when user scroll down…

Your solution is here

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.