Author: smartcoder
To avoid duplication or repeated type definitions, we have the type alias in TypeScript. We can do this easily using the type keyword in...
Read more »
Union Type definition in TypeScript allows us to have multiple types for a variable. For example, we can have the type of string and...
Read more »
TypeScript tries to infer as many types as possible by default in certain cases. It tries to know which types are used without us...
Read more »
Lets look into basic types in typescript and its common usages with examples. We will be checking out the primitive type definitions in typescript...
Read more »
How to save data to browser storage in our React JS App. If we are storing the data to the local storage of the...
Read more »
Check the current version of React installed in the system using the terminal command. npm command that can be used in VS code terminal...
Read more »
Use the Bold variant of Robot Font in CSS for web. Add Roboto font to the webpage style using font-face. @font-face { font-family: Roboto-Bold;...
Read more »
Looking to upgrade the node version installed on your Windows system? The node update can be easily done by downloading and installing the latest...
Read more »
React App sample code that implements useState accessing previous value. Using spread operator in raeact js. Dealing with complex states, mapping state data to...
Read more »
Here is the sample code which destructures an array and object. Reference code: For arrays we can give any name we want, but while...
Read more »