I have an API with a page limit of 10, so every time I pass a page number it returns me a list of 10. In my react project, I have the functionality to select the items from the list so if I select 2 items from page 1 and I want to select 10 items from page 2, How to hold page 1 items in context API and show those values when responses are changed when the page number is changed.