NightN
tRPC3y ago
6 replies
Night

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 Header component that wrapper in Layout component

and I want to use query in Header component too
If i'm do this

It's will need to run query 2 times
Was this page helpful?