May 23, 2023, 3:21 p.m. | Rens Jaspers

DEV Community dev.to

Hello, everyone! In a previous blog post I talked about how to use ngx-data-loader to load data declaratively in Angular. In this post, we'll see how ngx-data-loader and ion-refresher work together to reduce redundant code in your Ionic projects.


With ngx-data-loader, it's super easy to (re)load data in Angular. You simply define a function to fetch the data you need, like so:



@Component(...)
export class TodoPage {
getTodos = () => this.http.get( …

angular blog code data easy ionic projects reduce together work

Data Architect

@ University of Texas at Austin | Austin, TX

Data ETL Engineer

@ University of Texas at Austin | Austin, TX

Lead GNSS Data Scientist

@ Lurra Systems | Melbourne

Senior Machine Learning Engineer (MLOps)

@ Promaton | Remote, Europe

Data Analyst (H/F)

@ Business & Decision | Montpellier, France

Machine Learning Researcher

@ VERSES | Brighton, England, United Kingdom - Remote