Giter Site home page Giter Site logo

Comments (5)

JonnyBGod avatar JonnyBGod commented on May 11, 2024

This will have to be rewritten for sure. Atm it is used to try to infer the type of action to be dispatched mainly for easier usage.

I will not focus on it for now. But a PR is welcome as long as it retains functionality. Once Angular2 is stable or access to getDOM is blocked I will review this.

from angulartics2.

pkozlowski-opensource avatar pkozlowski-opensource commented on May 11, 2024

Once Angular2 is stable or access to getDOM is blocked I will review this.

It will be the case as soon as rc6 is out - eta 2 days.

I will not focus on it for now.

OK. But the net effect is that this lib won't be usable with rc6.

from angulartics2.

JonnyBGod avatar JonnyBGod commented on May 11, 2024

I don't see getDOM export removed from current master or find any references in upcoming PRs.

It seems to me that getDOM will still be available on RC6 at least for now.

I don't really like this solution because it potentially breaks compatibility with other environments such as server, web worker or nativescript. But I prefer to have some time to look into a better solution while trying to keep functionality.

That said if this really breaks rc6 compatibility once it is released I will comment out as soon as possible and release without this feature.

from angulartics2.

pkozlowski-opensource avatar pkozlowski-opensource commented on May 11, 2024

I don't see getDOM export removed from current master or find any references in upcoming PRs. It seems to me that getDOM will still be available on RC6 at least for now.

It is not removed but now ng2 packages are just publishing ES6 files only so with your private imports people would have to setup ES6 -> ES5 transpilation.

That said if this really breaks rc6 compatibility once it is released I will comment out as soon as possible and release without this feature.

It does. Or forces people to setup ES6 -> ES5 transpilation pipeline. Not to mention that this is a private API and can be changed / removed at any point.

from angulartics2.

JonnyBGod avatar JonnyBGod commented on May 11, 2024

You were totally right about this.

I have commented out the code related to this and skipped the test for now.

This feature will probably be completely removed in the future as I suspect that there is now way to implement it to work with every platform. Need to study it a bit more before removing completely though.

If that turns out to be the case, I will try to bring it back as a plugin.

from angulartics2.

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.