Validating forms using constraint validation API

Constraint validation API helps you validate data from form controls, before submitting the values to the server.

Read More

Complete useRef() hook with live code examples

What’s up with hook? returns an object with a property. This property gets the initial value of the argument passed to useRef hook. The reference to object will persist from render to render. Is useRef hook used only for accessing Document Object Model(DOM) elements? No, useRef hook can also be…

Read More

Fullstack express and angular with SSR

app You can find the source code here: https://github.com/danielpdev/fullstack-posts-pictures-users Features: Server-side rendering (SSR) with Angular Universal products brands comments image upload

Read More

Normalize your complex JS objects

Data normalization The process of normalization its havily used in every software design because normalizing data has a big impact on reducing data redunancy. When to normalize your data? Suppose we received the following data from an api: Now, you get a task to find the item with id of 1. How will…

Read More

Two ways of using AsyncPipe programmatically

What is AsyncPipe? AsyncPipe is an angular pipe that helps you resolve an asynchronous value(like an observable or a promise) to a primitive one. Common use cases of using AsyncPipe: Being a pipe it’s mostly used on HTML. Do I need to subscribe/unsubscribe when I use the AsyncPipe on HTML? No, the…

Read More
Page 3 Of 12