You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm doing multiple jsonp calls from one page to get a set of images for each of the product that will be rendered on the page. Even though I see all the requests return response(status - 200) for each of the jsonp call, I'm only able to get the data for one product only(mostly its the last product on the page).
IMPORTANT: all the jsonp requests uses same callbackto return the content.
I'm using React component to render product list by iterating through an array. Every time a new product list component is called/created, i make the jsonp request to fetch the set of images and display on the page.
When my page renders I see only one of the product shows the list of images. And rest of the jsonp request end up in 'Timeout' error.
Can someone show me how to make these multiple jsonp requests each with the same jsonp callback that simply gets content for each of the product?
The text was updated successfully, but these errors were encountered:
Hi,
I'm doing multiple jsonp calls from one page to get a set of images for each of the product that will be rendered on the page. Even though I see all the requests return response(status - 200) for each of the jsonp call, I'm only able to get the data for one product only(mostly its the last product on the page).
IMPORTANT: all the jsonp requests uses same callbackto return the content.
I'm using React component to render product list by iterating through an array. Every time a new product list component is called/created, i make the jsonp request to fetch the set of images and display on the page.
When my page renders I see only one of the product shows the list of images. And rest of the jsonp request end up in 'Timeout' error.
Can someone show me how to make these multiple jsonp requests each with the same jsonp callback that simply gets content for each of the product?
The text was updated successfully, but these errors were encountered: