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

Software Engineer for AI Training Data (School Specific)

@ G2i Inc | Remote

Software Engineer for AI Training Data (Python)

@ G2i Inc | Remote

Software Engineer for AI Training Data (Tier 2)

@ G2i Inc | Remote

Data Engineer

@ Lemon.io | Remote: Europe, LATAM, Canada, UK, Asia, Oceania

Artificial Intelligence – Bioinformatic Expert

@ University of Texas Medical Branch | Galveston, TX

Lead Developer (AI)

@ Cere Network | San Francisco, US