T
TanStack3w ago
harsh-harlequin

Is this best practice or what is the best way to achieve this?

What I want; - fetch all data in the beginning as batch and only once - merge batch with initial data, that needs to load immedtiately, because fetched data belongs with initialdata , but initialdata needs to be present immediately - provide a o(1) lookup of each spice, individual data, to make it easy and accessible to set new data, check/look it up and get it, I can’t use maps, since they don’t serialize well and objects are clunky. - fetch individual data immediately if the batch fetch isnt finished when its needed
No description
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?