GithubHelp home page GithubHelp logo

Angular 9 & OnPush about ngxd HOT 12 CLOSED

indigosoft avatar indigosoft commented on August 16, 2024
Angular 9 & OnPush

from ngxd.

Comments (12)

thekiba avatar thekiba commented on August 16, 2024

Hi @JETiCODEV,

thanks for the issue. Could you please reproduce your problem and put the link here?

from ngxd.

JETiCODEV avatar JETiCODEV commented on August 16, 2024

Sure,

https://stackblitz.com/edit/angular-9-0-0-rc-1?file=src%2Fapp%2Fapp.component.ts

from ngxd.

JETiCODEV avatar JETiCODEV commented on August 16, 2024

I pulled the ngxd source into our project and made a quick change, seems to be that adding this line to attachContextPropertyToComponentInput "solves" it:

image

from ngxd.

thekiba avatar thekiba commented on August 16, 2024

@JETiCODEV thanks! I'll check it and publish new release ASAP.

from ngxd.

JETiCODEV avatar JETiCODEV commented on August 16, 2024

@thekiba seems to be that when running it in stackblitz it just works, but I tried to run it locally (fresh Angular setup) and there it doesn't work ...

Seems that I shared the wrong stackblitz https://stackblitz.com/edit/angular-9-0-0-rc-1-wn3nvu?file=src/app/app.module.ts

from ngxd.

JETiCODEV avatar JETiCODEV commented on August 16, 2024

Seems to be that works in Stackblitz, but not in a fresh angular project. So I pushed the changes into a test repo, hope that will help. This is the working version, if you want to play around better to revert the mentioned change.

https://github.com/JETiCODEV/test

from ngxd.

thekiba avatar thekiba commented on August 16, 2024

I published new version v9.0.1, try to check this

from ngxd.

JETiCODEV avatar JETiCODEV commented on August 16, 2024

Great, thanks! Will give it a try.

from ngxd.

JETiCODEV avatar JETiCODEV commented on August 16, 2024

Just tried to add the new library to my existing project but it results in the following error:
image

from ngxd.

thekiba avatar thekiba commented on August 16, 2024

So sorry, I forgot to build for a ViewEngine 😅 Now it's should be works, please use v9.0.2 🙏

from ngxd.

JETiCODEV avatar JETiCODEV commented on August 16, 2024

Great, it's working ! Thanks for the effort, btw this library is really great in combination with Angular 9 ! Keep up to good work !

from ngxd.

thekiba avatar thekiba commented on August 16, 2024

Yeah, thanks 😁 With Angular 9 is really powerful, check this some use cases with lazily components and resolve pipe https://twitter.com/thekiba_io/status/1230076631722659841?s=20

from ngxd.

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.