FROM CACHE - en_header

Polaris Resource List / Resource Item

Shopify Expert
4793 56 562

What is the secret sauce to removing a Resource Item you no longer need in the list?

I have a button that when clicked tells the server to do some stuff. I get back an A-OK okay dokey, or a digital puke.

In the A-OK handler I would like to thus kill the resource item it belonged to, as it is no longer needed. But there is no way to say hocus-pocus delete that resource.

I do not want to ask the server for the list again, that seems dumb. So again, what do people do to kill resource items? Artifically I know I could litter the DOM with some crazy ID scheme, but that screams inelegant.


Custom Shopify Apps built just for you!
Replies 0 (0)