rusk
rusk copied to clipboard
Add conditional rendering for cases like `TransactionsCard`
Summary
In components like TransactionsCard
we render in the DOM both the mobile and the desktop version of the content.
This causes writing a lot of unnecessary nodes in the DOM and has a further impact on performance as some bits of the rendered content are on a "auto re-render" mode.
We should find a clean way to add conditional rendering without relying on CSS to show / hide the specific content for the device.