What is Lorem Ipsum? Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic…
Category: Angular 10 Tutorials
Angular 10 tutorials for beginners
Mat-Icon List: 1000+ Angular Material Icons
<mat-icon> selector is used by angular developers to display Material icons in Angular static and dynamic web applications. We have compiled all mat-icon list of around 1000+ Angular Material icons. To explain and show the use of below <mat-icon> list icons. We need to load material icons CSS provided by Google <mat-icon> is part of angular material module called MatIconModule. We…
error:0308010C:digital envelope routines::unsupported [Fixed]
The “error:0308010C:digital envelope routines::unsupported” occurs when working with Node.js and command line interface solutions like Webpack, create-react-app, or vue-cli-service. The bug persist because Node.js version 17 and later use OpenSSL v3.0 which has had breaking changes. What Causes the “0308010c:digital envelope routines::unsupported” Error? There could be many reasons for the occurrence of this bug but below are the 2 main…
Solve – Export ‘useHistory’ was not found in react-router-dom
The simplest way to solve the error “export ‘useHistory’ (imported as ‘useHistory’) was not found in ‘react-router-dom’”, is to use the ‘useNavigate’ hook. Because that will return a function that allows you to navigate programmatically. Example ‘const navigate = useNavigate()’. Why the export ‘useHistory’ was not found in react-router-dom Error Occur? You will encounter the above error if you’re using useHistory()…
Solve – Not all code paths return a value in TypeScript
The error “Not all code paths return a value” in TypeScript occurs when you do not return a value from a function that needs to return something to the calling code. When the function is executed and the compiler hits the end of the code-block without a seeing a return statement, it will throw the above error indicating that some…
Solve – Objects are not valid as a React child error
Let solve the React.js “uncaught error: objects are not valid as a React child (found object with keys_u_v_w_w) if you meant to render a collection of children, use an array instead.” The first approach to any problem is to identify the root cause, so let me show you the reason why this error occurs and then we will proceed with…
Fix error: cannot find module ‘x’ in Node.js or ‘express’
To solve the “error: cannot find module in Node.js or express” you have to first know why this error occurs. Mostly, this error occurs when you’re going through a Node.js tutorial and you reach a point where you need to install some specific module, package or a library. If you don’t properly install it using the npm install command and…
Fix TypeError: ‘builtin_function_or_method’ object is not subscriptable in python
The python error “TypeError: ‘builtin_function_or_method’ object is not subscriptable” occurs when you call a built in function with square brackets ‘[]’ instead of parentheses ‘()’ Squares brackets are mainly used to perform operations on object that is iterable. For example, if you have a string, list, array or a dictionary, you can use the ‘[]’ to find the index of…
Angular generate component in subfolder or subdirectory example
Learn how to generate a component inside subfolder or subdirectory using angular-cli in this practical example. The ng team provides various commands that makes things easy whiles developing your angular application. Although you don’t need to memorize all the commands but there are few related to module, path, and component generation you surely need to know, so let get started.…
Angular disable button clicks and on condition example
Angular disable button clicks and on condition example, full step-by-step guide. Sometimes it will be very beneficial for you to disable certain buttons for a while until certain task is successfully completed. For example, you can disable the submit button on the registration page after the user clicks on it during http request and wait for 5 seconds until you…