2024-06-07
1748
#angular
Lewis Cianci
191569
109
Jun 7, 2024 ⋅ 6 min read

Signals vs. ngOnChanges for better Angular state management

Lewis Cianci I'm a passionate mobile-first developer, and I've been making apps with Flutter since it first released. I also use ASP.NET 5 for web. Given the chance, I'll talk to you for far too long about why I love Flutter so much.

Recent posts:

React logo displayed on a pastel sky background, representing the topic of migrating to React 19 using react-codemod.

Migrating to React 19 using react-codemod

In this tutorial, you will learn how to upgrade and refactor your React application to the latest version without having […]

Popoola Temitope
Sep 20, 2024 ⋅ 3 min read
Leaflet Adoption Guide: Overview, Examples, And Alternatives

Leaflet adoption guide: Overview, examples, and alternatives

Leaflet is a handy, lightweight, performant JavaScript library for creating responsive and interactive maps for the web.

Joseph Mawa
Sep 19, 2024 ⋅ 11 min read
JavaScript logo with glowing lights, representing secure web authentication. Learn how JWT, OAuth, and Bearer tokens enhance modern authentication methods.

Understanding JWT, OAuth, and Bearer tokens

If you were to meet your friend in the street, straight away you would likely greet them and ask them […]

Lewis Cianci
Sep 19, 2024 ⋅ 5 min read
An illustration of a hand holding a large hammer with a lightning bolt symbol. The background features a vibrant, gradient sky with shining stars. This image metaphorically represents the strength and flexibility of using Vike and vite-plugin-federation to build scalable micro-frontends. As discussed in the article, Vike allows for server-side rendering (SSR) and static-site generation (SSG), while vite-plugin-federation helps integrate shared components across different micro-frontend applications, enhancing the speed and modularity of modern web development frameworks like React, Vue, and Svelte

How to build scalable micro-frontends with Vike and Vite

Micro-frontends let you split a large web application into smaller, manageable pieces. It’s an approach inspired by the microservice architecture […]

Elijah Asaolu
Sep 18, 2024 ⋅ 6 min read
View all posts

2 Replies to "Signals vs. ngOnChanges for better Angular state management"

  1. Very interesting and nicely written article, thanks. Maybe you could post the whole component code on the end of the post? I am not quite sure where priceDifferences is defined – is it a function within the component? Or maybe, you not being very clear on this point, forces me to try it immidiately and I’ll remember your article better.

  2. Interesting post and nice comparison trick, thank you !
    I’m new to signal and I was wondering what ensures that the computed property executes before the effect ?

Leave a Reply