Coder Social home page Coder Social logo

[@ngrx] AoT not working about redux-beacon HOT 8 CLOSED

Itrulia avatar Itrulia commented on May 28, 2024 1
[@ngrx] AoT not working

from redux-beacon.

Comments (8)

JacekKosciesza avatar JacekKosciesza commented on May 28, 2024 1

Ok, trick described here: rangle/redux-gtm#39 did the job.

const gaMetaReducer = createMetaReducer(eventsMap, GoogleAnalytics);
const gaFinalMetaReducer = gaMetaReducer(routerReducer);
export function analyticsMetaReducer(state: any, action: any) {
   return gaFinalMetaReducer(state, action);
}

from redux-beacon.

Itrulia avatar Itrulia commented on May 28, 2024 1

Currently not working on the site anymore. But I guess if it works for him, it will also work for others. Might be worth documenting though :)

from redux-beacon.

ttmarek avatar ttmarek commented on May 28, 2024

Hi @Itrulia.

Thanks for opening an issue. I've been a bit removed from the Angular/AOT world for the last little while, so I can't provide a solution off the top of my head. I have however had a similar issue with one of our older analytics libraries. Take a look at: https://github.com/rangle/redux-gtm/issues/39. Perhaps there is something in there that might help?

If not, I'll see who I can draw up to help that has more experience with AOT than I do.

One last thing that might help us work towards a solution. Is this a new issue that came about from a new AOT version? Or is that something you wouldn't know because you've just added redux-beacon to your project?

from redux-beacon.

Itrulia avatar Itrulia commented on May 28, 2024

Hey,

I also saw that issue and tried that, unfortunately I was not able to fix it. I just added redux-beacon (love it so far) and thus I unfortunately don't know if it's new.

I can look in to it this weekend if I dont have too much todo if wanted.

from redux-beacon.

ttmarek avatar ttmarek commented on May 28, 2024

Okay cool. Yeah, let us know if you end up finding a solution on your own. I may have some time later this week to take a look myself if I can't bribe anyone else to help out 😉

from redux-beacon.

JacekKosciesza avatar JacekKosciesza commented on May 28, 2024

I have the same problem and it seems that it's something new (it was working in the previous versions).

from redux-beacon.

ttmarek avatar ttmarek commented on May 28, 2024

Cool, thanks for posting what worked for you @JacekKosciesza.

Did this work for you as well @Itrulia?

from redux-beacon.

ttmarek avatar ttmarek commented on May 28, 2024

An FAQ section was added to the new docs with this information: https://rangle.gitbook.io/redux-beacon/faq

from redux-beacon.

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.