We have a small react application where we have a page where we render very large xml in the collapsible tree format.
XML is about 10k Lines. We have various components for xml opening, closing tags, body and attributes and so on. This is read only xml view with only option to collapse and expand xml tags. This takes about 6-7 seconds to render.
Is there any way to speed this up?
react loadable / dynamic imports and React.lazy)React.memo with useMemo() and useCallback())Before fixing re-renders, fix slow rendersreact window)If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With