Posts
Featured Post
Deep CSS selector: A great way to style child components in Vue.js JavaScript

Deep CSS selector: A great way to style child components in Vue.js

Applying styles to components can be tricky in Vue sometimes, especially when dealing with components with many nested elements. Let’s take a practical example to understand how the deep CSS selector will be helpful. In the below example, we’ve created a wrapper to the label with the name “LabelWrapper.Vue”. There are two files in which …

Tags
JavaScript

Easying DI registration Using AutoFac Assembly Scanning

In today’s blog, we are going to talk about how we can leverage the Autofac feature of assembly scanning to ease the Dependency Registration process. Conventional DI process .NetCore has an inbuilt mechanism for specifying Dependency Injection in our application. To start with, the Startup.cs class has 2 main methods i.e ConfigureServices and Configure. The …

Tags
JavaScript

Xamarin forms: Separate resource dictionary for custom theme

Xamarin forms allows to create a separate resource dictionary file for custom theme rather than adding styles directly in App.xaml What are the benefits? Code separation, Separate style code and design code rather than adding everything in one file, It’s like separating html and css code. Multiple theme resources,  Just create multiple theme resource files …

Tags
JavaScript

OR (||) vs Nullish Coalescing (??) in TypeScript

The operator signifies an operation to be performed on value(s). The value(s) on which the operation is performed are called operand(s). TypeScript provides many operators such as +, -, *, /, ++, –, >, <, ==, ===, &&, || etc. TypeScript 3.7 introduced a new operator called the “Nullish Coalescing (??)”. It is quite a …

Tags