Comments (5)
@changeweb you can achieve the same via code splitting:
you can lazy load your emoji.js
after button click. Have a look at my example here https://github.com/midzer/eisolzried/blob/db333f68e6971f2f632ce1011a5de6d63e84ec9e/_assets/js/modules/chatbox.js#L178
from picmo.
Thank you for the feedback! Those are both great suggestions and when I have some free time I will try to get those implemented.
from picmo.
I have implemented both of these suggestions in [email protected], which I have just released.
Thanks!
from picmo.
awesome!
from picmo.
@joeattardi It would be great if Emoji data could be lazy load from another file. This will reduce bundle size of an app. Besides, it will be possible to dynamically add emoji data in that file.
What's your thought on this?
I appreciate your hard work.
from picmo.
Related Issues (20)
- Wrong position for first time in createPopup HOT 3
- Emojis disappear when clicking on a category during scrolling HOT 1
- Search bug when using the in-memory store HOT 1
- Brave breaks emoji support detection HOT 4
- Possible to filter emojis to selected from? HOT 2
- Some labels are no longer translated when the i18n property is set in version 5.8.0 HOT 1
- Initial emoji missing HOT 2
- Default to recent emoji? HOT 1
- Sveltekit Reference Error window is not defined HOT 7
- "placeholder" CSS class causes weird moving light animation HOT 4
- Unrecovered IndexDB Error HOT 7
- Emoji Cutoff on mobile devices HOT 2
- className is not applied to placeholder UI HOT 1
- Broken Twemoji images HOT 7
- Avoid localStorage shim HOT 6
- Memory Leak on multiple times opening @picmo/popup-picker HOT 3
- Failed to load Emojis when using Twemoji renderer HOT 13
- Categories Overflow w/ Size/Row Settings in Popups
- New Spanish Translations
- Local data don't work on non-secure environments HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from picmo.