-
I am creating a dashboard page that will pull data from multiple different sources to display different charts/graphs. What is the recommended way to do this using remix? Do I just use useEffect in each component (which would allow each component to get the data on its own)? I am probably totally missing something. Thanks for the help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can:
I think for a dashboard SSR may not be that useful so using useFetcher is probably going to be better if the dashboard is too customizable, you could still fetch some things no the route loader tho, like authenticated users, permission, what widgets to show, etc. |
Beta Was this translation helpful? Give feedback.
You can:
I think for a dashboard SSR may not be that useful so using useFetcher is probably going to be better if the dashboard is too customizable, you could still fetch some things no the route loader tho, like authenticated users, permission, what widgets to show, etc.