Using a few lines of code could make the application feel much better!
All Posts tagged as "Angular"
Follow @angularsg for the upcoming events :)
An example of real-world monorepo codebase using Nx Workspace
This structure has been serving us really really well by enforcing consistency, promoting SCAM, prevent circular dependencies, and minimize mental overhead of "where to put what"
You'll need those tips one day if you get used to RxJS 🤣
I'll show you how to migrate from TSLint to ESLint and using husky to run lint every time you try to make a commit
A simple walk through how to use the browser MediaDevices for capturing picture from a webcam in Angular
Do you know you can use Observable for Angular Output?
The holiday session is coming. Let add a simple snow effect to your Angular application ❄️❄️❄️
We will write a custom directive to disable a reactive form control by passing a boolean flag on the template
My eight tutorial is to explain how to build a placeholder loading component
My seventh tutorial will focus on another kind of text editor - a rich text HTML editor
My sixth tutorial will focus on another interesting feature - a markdown text editor
My fifth tutorial will focus on one of the most interesting feature - drag and drop board
My fourth tutorial will focus on the first custom UI element - editable textbox
My third tutorial will go further into the application state management with Akita
My second tutorial will walk you through how to build the application layout that has navigation, sidebar and content section
Struggling to write regex from scratch, checkout super-expressive, and a playground written by my friend @nartc
I made a retro Tetris game with Angular. The first game that I have ever built :)
I spent my spare time to build a cloned Jira app with Angular 9, Akita and ng-zorro in about two weeks, including the weekend
You should know some basic Angular, TypeScript and git knowledge before starting
I spent my spare time to build a cloned Jira app with Angular 9, Akita and ng-zorro in about two weeks time, including the weekend.
This post gives you a glance at TailwindCSS and how to use it with Angular. If you're reading this and you don't know what TailwindCSS is, where have you been?
If you have multiple concrete classes that inherit from the same base class, or implement the same interface. You should consider using visitor pattern. It will save you from dozens of if-else block or switch/case and typecasting
Understand and prevent the most common memory leaks in Angular application - Subscription unsubscribe
Remember to clean up your Rx subscriptions. In my experience, this is by far the most common cause of memory leaks in Angular applications
The different when using value and ngValue on Angular form
I like the Redux concept. But not NgRx :)
Write a custom async validator to validate an input field with a backend API in Angular reactive form
Pluralization is a problem in its sphere. We need to always correctly define grammar in our apps based on the singular/plural value
Export data to Excel is very useful on the data list for nearly every web application. The export feature helps to download the data list in a table as a file format for offline use
I prefer to use FormGroup to populate the list of checkbox. For checking at least one checkbox was selected, write a custom validator.
In the use case of search, we don't want to hit the server endpoint every time user presses a key, it should flood them with a storm of HTTP requests. Basically, we only want to hit it once the user has stopped typing after sometimes (for instance 300ms) instead of with every keystroke.
How to use ng-template to render view recursive in Angular
I found that source-map-explorer tool shows an easy-to-understand-and-explore visualization to help you debug where all the code is coming from.
I will summarize the steps needed to integrate Angular 2 and Webpack build process in an MVC 5 application