Most of the developers use console.log() to debug a problem in our angular application. After we solve the problem most of the times we use to forget to remove these logs and it goes to production. In this blog, we'll explore how to disable this console logs in production with minimal changes. There are multiple... Continue Reading →
Blog
Cannot read properties of undefined (reading ‘onDestroy’)
Recently I upgraded an angular application from anuglar 10 to 13 and after that we faced a console error called, Cannot read properties of undefined (reading 'onDestroy') I faced this issue only on the production build, but I was unable to reproduce it in the local build. So, I tried to run the production build... Continue Reading →
Getting started with standalone components – Angular
In angular application, each page acts as a component. Whenever you create a component, you need to import that in the respective module to make use of it. By doing so, every component in Angular is tightly bounded to the module. But from Angular v14, you can create standalone components which is independent of modules.... Continue Reading →
Change Height and Width of TextArea in codemirror
CodeMirror is a JavaScript text editor package which you can integrate with your applications. I was trying to integrate the respective Angular package of CodeMirror which is called as @ctrl/ngx-codemirror into my application. When I started to integrate codemirror, I was facing fold gutter issue which I have explained in this blog. Recently, there was... Continue Reading →
Visual Studio Code Tips and Tricks
Visual Studio Code is an open-source, light-weight code editor developed by Microsoft and it was built upon Electron Framework. It supports all the platforms such as Windows, Linux and Mac. The performance and the usage of VS Code will be much better than Visual Studio. A tool should be very much user-friendly and also it... Continue Reading →