Some ideas for this post have been taken from Jordan Powell talk on Angular Tiny Conf. The goal of refactoring is to improve internal code by making many small changes without altering the code’s external behavior. Improve Code by When Should Code Be Refactored? After Deployment After delivering feature, and before new task, revisit the […]
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 […]
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 […]
(HTML + CSS + JS) are enough
Why Component driven development?
Component driven development or CDD not TDD is the most trendy topic in UI development. Every article I search about components, React takes the credit but I could make a similar case for Angular and Vue.js too. It a “bottom up” approach where we start with smallest possible element and progressively build the pages and […]