• Jobs
  • About Us
  • professionals
    • Home
    • Jobs
    • Courses and challenges
  • business
    • Home
    • Post vacancy
    • Our process
    • Pricing
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Salary Calculator

0

238
Views
How to achieve a problem with context api

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.

about 3 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Our process Sales
Legal
Terms and conditions Privacy policy
© 2025 PeakU Inc. All Rights Reserved.

Andres GPT

Recommend me some offers
I have an error