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

Categories
Opinions

Framework vs Library

Framework vs Library: Library provides set of functions and we call them when we need them, here our code is in charge. Framework on other hand provides an environment and being in charge of our code, it runs our code when it requires. Libraries are supplemental piece of functionality. They help you solve specific problem […]