Categories
Java Script Opinions

Why redux pattern enforces Functional Programming

I am trying to go with the route of vanilla programming for my reactive needs. Hence I choose Proxy, A wrapper over a object, where we can listen to changes in properties. It has some traps, like get, set, has and so on. We are more interested in get so we can use it to […]

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