I am using react-wordcloud in my dashboard. When I load the cloud without specifying the fontSizes attribute in options prop, it used the default font-sizes, because of which the texts appear very small sometimes. To solve it. I provide the fontSizes eg. [20, 60], which solves my problem. However there's a delay in loading the wordcloud, sometimes around 5 seconds (which doesn't occur with the default fontSizes). How can I load the cloud faster ?
I am using react-wordcloud in my dashboard. When I load the cloud without specifying the
fontSizes
attribute inoptions
prop, it used the default font-sizes, because of which the texts appear very small sometimes. To solve it. I provide thefontSizes
eg. [20, 60], which solves my problem. However there's a delay in loading the wordcloud, sometimes around 5 seconds (which doesn't occur with the default fontSizes). How can I load the cloud faster ?