Closed Kida007 closed 3 years ago
on a device without development mode, when I navigate to a screen with SyntaxHighlighter (conditional rendering ), the UI freezes for a second. but that single glitch, everything works fine.
is there a way to preload it ?
have you found the way?
sorry, I have not really followed up on that !
I suggest using a loader, once the componenet mounts you render the SyntaxHighlighter else you render the loader
SyntaxHighlighter
on a device without development mode, when I navigate to a screen with SyntaxHighlighter (conditional rendering ), the UI freezes for a second. but that single glitch, everything works fine.
is there a way to preload it ?