Git Product home page Git Product logo

Comments (4)

michaelrafailyk avatar michaelrafailyk commented on June 3, 2024 1

@hirbod big thanks for your recommendations, materials and participation in the life of the project!
I keep working on it.

from stickymate.

hirbod avatar hirbod commented on June 3, 2024

Since I think you never worked with it, here a super simple setup:
https://hackernoon.com/building-and-publishing-a-module-with-typescript-and-rollup-js-faa778c85396

And here is a perfect starter lib, which help you building a esm (modern import) or umd (including <script>). CommonJS is not important, since we don't need to run this on Node I guess.
https://github.com/rollup/rollup-starter-lib

from stickymate.

hirbod avatar hirbod commented on June 3, 2024

After this is done, we could write some tests for it using JEST for example, but this should be done as a next step.
Sorry for those many comments here now. :)

I think, this library could gain a lot more attention when its published and maintained more modern.
I also would drop IE11 and EdgeHTML support and drop support for old browsers without IntersectionObserver.

Every modern setup has a IntersectionObserver polyfill. We should stop support dead old browsers.

Support for it is already good enough.
https://caniuse.com/?search=IntersectionObserver

https://caniuse.com/?search=MutationObserver

And support for flat is also enough.
https://caniuse.com/?search=.flat
https://caniuse.com/?search=.reduce
https://caniuse.com/?search=.assign

Most things, which used to be polyfilled are working for nearly everybody.

from stickymate.

hirbod avatar hirbod commented on June 3, 2024

I'll help out as soon as I have some more time :)

from stickymate.

Related Issues (9)

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.