invalidate multiple queries
How would I invalidate the following sets of queries in a single invalidateQueries call?:
2 Replies
foreign-sapphire•3y ago
Give them all the same key prefix, something like
itemother-emeraldOP•3y ago
ah and if i want to control thjem individiually, i.e. ["item", id, "checkin"], and ["item", id] - and in this case i can invalidate these 2 only (if i wish) with ["item", id]
yeah, smart 🙂 thanks