r/angular • • 22h ago

ngx-interpolation updated to support Angular 20 and 21

0 Upvotes

Hey everyone!

I've just released an update to ngx-interpolation, adding support for Angular 20 and 21.

For those who haven't come across it, ngx-interpolation is a lightweight Angular library that allows you to parse and evaluate Angular-style interpolation expressions ({{ }}) in dynamic strings using a provided context. It supports things like property access, function calls, conditional expressions, and more.

Angular 22 support is also on the roadmap and coming soon!

It's been great to see the library gradually adopted and used by developers. Seeing an open-source project get real usage over time is a good motivation to keep maintaining and improving it.

A quick look at the numbers: the package has reached 5,558 total downloads so far.

You can check it out here:

If you've used it, I'd genuinely appreciate hearing about your experience, feedback, or suggestions for improvement.

Thanks!


r/angular • • 11h ago

Have I Solved A Problem That Doesn't Exist?

0 Upvotes

From my anecdotal experience, and stuff I've read here and elsewhere, type-checking with Zod isn't really used by Angular devs. Obviously the compiler will pick up TS definition errors, but I've been the victim of APIs, internal and 3rd party, changing without warning or by mistake and causing issues in the build.

This isn't an issue if you're TS back-to-front and are sharing your interfaces and types between them, or if you're dynamically generating your typescript definitions from the backend (though that could lead to surprises too). Mainly, just if you're in a frontend team a bit detached from the backend.

I'd appreciate some feedback on this: https://www.npmjs.com/package/@ribaldry/ngx-type-drift

The idea is that problems show up while you develop, nothing additional is added to the build only in serve, and you can wire-up your own alerting (toast, snackbar) if you want. Example: BE has been serving an object with property car_type and have now changed it to carType - you're running against a UAT or Test environment so you pick it up quick. Your tests will probably pick it up, hopefully this catches it sooner.

Complete waste of time?

EDIT:

Thanks for the feedback - never a waste of time to interact with nice Angular folks, but this does seem to be solving a problem that would be better solved elsewhere in the build process. Appreciate all those who responded!


r/angular • • 8h ago

A 2 year long journey!

Thumbnail
gallery
7 Upvotes