Categories
Java Script Opinions

Release the thread

Changes in properties of element or manipulating the children elements will trigger updates in UI when you release the three is virtual DOM really fast? React claims that its virtual DOM implementation is proved to be faster than changing real Dom, where 10 changes are collected and real DOM is updated at once hence faster. […]

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