How many DB calls for shared data in different components? #3732
globalbuild
started this conversation in
General
Replies: 1 comment
-
Remix calls your loaders in parallel. So if you need the same data in multiple routes, you'll need to fetch those in each. Remix will not de-dupe for you.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
If components share data via a loader API call, but you do not choose to use useMatches, do 2 database calls occur? or does Remix recognize this and only make 1?
Beta Was this translation helpful? Give feedback.
All reactions