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…

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…

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…

Update to Angular 9 for angular-particle-effect-button npm package

has now been upgraded to Angular 9 If you don’t know what this package does, go here first. Thanks to PowerKiKi now this package is upgraded to Angular 9. npm package at version 0.0.50. Demo on codesandbox This new version includes: Tests fixed Dependencies updated. Angular Universal compatibility…

Page 2 Of 12

Get The Best Of All Posts Delivered To Your Inbox

Subscribe to our newsletter and stay updated.