Categories
Angular Opinions

One less effect to reset signal in Angular

I need to fetch some posts. We will use the httpResource. HttpClient returned observables but this one is reactive wrapper around HttpClient. The response we get is a signal. We can render the content in template as {{ content.value() }} But there is new inquiry. We need filter by specific user, No problem we can […]

Categories
Angular Opinions Tutorials

TIL Week 27 2023: Stow, fzf, Angular Router gotchas

This is regular week update, of things I have discovered in my daily workflow. Its a nice place to come back in future. I also share because this might help other developers. They might come across similiar situation. Stow – Manage config file Up until this point I was only working on single machine to […]

Categories
Angular Java Script Tutorials

Component Immutability and RequiredArray

While reading through component design, one of the recommended tip is to never mutate the input properties. Let’s look at the example below. (I am using Angular but same can apply to other frameworks) Here sort is a mutable operation. This not only sort the array but also mutates the array. I have prepared the […]

Categories
Angular Nx Tutorials

Getting Started with Angular and Nx

This is a series of post which will cover array of topics. The application in question needs a component library (Angular Components aka Angular Material). A CSS Utility Library to take care of adding styles (Tailwind). A way to develop, document and test components (Storybook). Last but not least, move the load off to the […]

Categories
Angular Ionic Java Script Tutorials

Add Leaflet Markers, Popups and Circle

Although this article is part of series but you can follow along without going through the whole series. All the information provided can be applied to any JavaScript project. Add simple Leaflet Map Add Leaflet Markers, Popup and Circle Previously, we build a simple map with leaflet. In this article we will look into location […]