Categories
Opinions Testing

What is Refactoring?

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 […]

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
Opinions

(HTML + CSS + JS) are enough

There are so many ways to build a website. There are so many ways to build frontend. So many procedures, workflows, pipelines, steps. Build, Preprocessing, Post processing, Transpiling. Linting, Unit Test, Integration Test, End to End Test Redux, RxJS TypeScript, JavaScript, Angular, React, Vue Svelte, Solid CSS, SCSS, Tailwind, Postcss, Bootstrap, Material Design Icons, SVG […]

Categories
Opinions

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 […]