orizens / ngx-infinite-scroll

Infinite Scroll Directive for Angular
https://www.npmjs.com/package/ngx-infinite-scroll
MIT License
1.25k stars 224 forks source link

feat: switch to signal inputs to support zoneless change detection #440

Closed arturovt closed 1 month ago

arturovt commented 5 months ago

In this commit, we changed @Input to signal inputs, supporting zoneless change detection introduced experimentally in Angular 17. Many apps have already adopted zoneless change detection since Angular 17. However, this change is necessary to notify the zoneless scheduler about updates to signals. Whenever signals are updated, it can schedule change detection.

orizens commented 5 months ago

hey @arturovt thanks for this pr. can you share a link to a documentation on the new input signal and possible an example?

arturovt commented 5 months ago

hey @arturovt thanks for this pr. can you share a link to a documentation on the new input signal and possible an example?

https://angular.dev/guide/signals/inputs

orizens commented 4 months ago

hey @arturovt I would like to go with signal inputs, however they are are still marked as:

Signal inputs are currently in developer preview. i believe this pr should wait until it's out of developer preview.