Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initRender options for better UX #71

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

min9nim
Copy link

@min9nim min9nim commented Oct 19, 2020

react-wordcloud is so good because it automatically calulates the max size of font to show all words.

But, it is too slow to loading if maxFontSize of fontSizes options is too bigger. because it recurvely calll draw function to find the optimized max value of fontSize.

So I propose initRender options of ReactWordcloud.

initRender options is drawing tag-cloud when first attempts during caclulate the maxFontSize. I think It's better user experiance than wating loading completed.

when maxFontSize is too bigger than optimized value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant