I newbie in react js. I am building a 4-5 pages website using react js. In all the pages, there is an API called category. What is the best way to request this API once and use the same data for all pages where needed? I tried to find on google but did not come to a satisfactory result so your guide will help to save the client resource to call the same API for every component or pages again and again.
thanks a lot!!!