Categories
Opinions

About JavaScript Script tag execution order

Browser parse html line by line, when it reaches the script tag it stops rendering, at that moment, downloads the JavaScript, parses it, executes and continues the html parsing. This behavior, scratch that, this might not be intended behavior that you want to see. Because the waiting period of JS downloading, execution might be in […]

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