WordPress-FluxC-Android icon indicating copy to clipboard operation
WordPress-FluxC-Android copied to clipboard

Consider removing invalidate from PagedListWrapper

Open oguzkocer opened this issue 5 years ago • 0 comments

Since we have the LIST_REQUIRES_REFRESH ListStore action, we probably don't need to manually invalidate the list anymore. I want to consider this after post filters is merged and possibly after working on the Woo orders to have more information.

For now, I think we should just improve LIST_REQUIRES_REFRESH and remove the manual invalidate. The improvements would be:

  1. Find a better name
  2. Make it work with both type and unique identifiers
  3. Maybe include a list of item ids and check the DB for those before invalidating the lists
  4. Most likely split it into several actions to accomplish these ^

oguzkocer avatar Apr 12 '19 18:04 oguzkocer