tommoor / emojione-picker

A react emoji picker for use with emojione
http://tommoor.github.io/emojione-picker
MIT License
261 stars 61 forks source link

Huge performance hit when loading emoji picker #45

Closed Orbyt closed 7 years ago

Orbyt commented 7 years ago

I'm trying out a slightly modified version of this package in two seperate projects. In one (which is an Electron applicatoin), for all intents and purposes of this issue, it works as expected.

The other is a small widget built with React. I ported over the Emoji Picker from the other project, but when opening the picker in the widget, the various emojis load extremely slow (~2 seconds) and cause the widget to become unresponsive.

What might be causing this issue?

tommoor commented 7 years ago

Thanks for bringing this up, it should be much better in 2.0 - https://github.com/tommoor/emojione-picker/releases/tag/v2.0.0