Giter Site home page Giter Site logo

Couple of suggestions about picmo HOT 5 CLOSED

joeattardi avatar joeattardi commented on May 31, 2024
Couple of suggestions

from picmo.

Comments (5)

midzer avatar midzer commented on May 31, 2024 1

@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.

joeattardi avatar joeattardi commented on May 31, 2024

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.

joeattardi avatar joeattardi commented on May 31, 2024

I have implemented both of these suggestions in [email protected], which I have just released.

Thanks!

from picmo.

adrianhuna avatar adrianhuna commented on May 31, 2024

awesome!

from picmo.

changeweb avatar changeweb commented on May 31, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.