Benefits of RSC for dashboards-like apps

Hello everyone! I got a question regarding RSC. We have a single-page application that serves as a general management dashboard for our company. Would incorporating RSC offer any benefits for this kind of scenario? As I understand it, for internal tools like this one, the smaller js bundle size, which is RSC's primary feature, is not a concern. Furthermore, with RSC we probably wouldn't be able to leverage the significant benefits of caching and revalidation provided by tanstack-query.
Solution:
App dir Layouts are a huge win for dashboards though
Jump to solution
3 Replies
cje
cje2y ago
You can get some minor “free” gains by making anything that isn’t interactive at all a server component But yea for internal dashboards it doesn’t matter that much
Solution
cje
cje2y ago
App dir Layouts are a huge win for dashboards though
Hal
HalOP2y ago
ah yes almost forgot that the new layout is a win which probably worth the migration effort. Thanks for clearing that up, I thought there are benefits of RSC that I didn't know yet. I think I would just mark all components as client component and keep using tanstack-query
Want results from more Discord servers?
Add your server