Dynamic Styles in VueJS

In this article, I aim to provide a not so new but also not so known way of adding dynamic features into your application, ensuring that you can achieve what you wish to simply without writing boilerplate code and meddling with string concatenation. When writing Dynamic UI Components that respond to user actions and events, we require methods to respond to these events by translating them into our DOM. Change in DOM is usually achieved by changing styles and classes based on certain reactive data that we have in our javascript....

June 23, 2021 · 5 min · 964 words · Lakshya Singh

Comprehensive Guide for Regular Expressions

What is Regex? Regular expressions ( or regexes, or regex patterns) are essentially a kind of formal grammar/syntax used to find the set of possible strings that you want to match. At first, REs can look pretty scary and daunting, but we can write highly efficient matching patterns in terms of length and speed after understanding even a few special characters. We can use REs to save the day in a variety of use cases :...

May 16, 2021 · 8 min · 1552 words · Lakshya Singh

Good Git Commits

Good Commits Git commits are everywhere, and you might be generating more than 1k commits over a year. So it becomes crucial to understand that commit should be structured and created in a scalable manner. Why bother? Writing better commits can make the difference between your debugging session lasting 1 hour to a few minutes. With good commits, it’s easier for anyone to understand the progress of a project and get up to speed....

May 7, 2021 · 3 min · 548 words · Lakshya Singh