using same query for entries app
How to use same query for many components?
I don't want to request api for many times ;-;
I can't passing by props because I have
and I want to use query in Header component too
If i'm do this
It's will need to run query 2 times
I don't want to request api for many times ;-;
I can't passing by props because I have
Header component that wrapper in Layout componentand I want to use query in Header component too
If i'm do this
It's will need to run query 2 times
Solution