How to Create a New React App
Create React App is a easy and best environment for learning React, and is the easy way to start building a new single-page application in React.
Create React App is a easy and best environment for learning React, and is the easy way to start building a new single-page application in React.
Abstract classes are used for providing an abstraction to the code to make it reusable and extendable.
It is a class that has at least one pure virtual function (i.e., a function that has no definition). The classes inheriting the abstract class must provide a definition for the pure virtual function.
Install Ionic - Open the command prompt and run
npm install -g @ionic/cli
Update the angular cli
npm install -g @angular/cli@latest
Create an app ionic start nagTabs tabs syntax: ionic start app types are a. tabs: A tabs based layout b. sidemenu: A sidemenu based layout c. blank: An empty project with a single page
As a forewarning, we are moving the CLI npm package to "@angular/cli" with the next release, which will only support Node 6.9 and greater. This package will be officially deprecated shortly after. To disable this warning use "ng set --global warnings.packageDeprecation=false". You have to be inside an angular-cli project in order to use the test command.
Today I had completed a book When Breath Becomes Air by Paul Kalanithi a Neurosurgeon. Book covers What makes life worth living in the face of death? What do you do when life is catastrophically interrupted? What does it mean to have a child as your own life fades away?
Today completed reading. The Biology of Belief: Unleashing the Power of Consciousness, Matter and Miracles by Bruce Lipton.
This book is a groundbreaking work in the field of new biology, and it will forever change how we think about thinking. It covers.
a. Interaction between your mind and body and the processes by which cells receive information.
b. Genes and DNA do not control our biology
How to open urls using InAppBrowser plugin & window.open from ionic3+ apps. We can InAppBrowser plugin & window.open for opening urls from ionic3+ app
Add a provider to the Ionic3 app refer and follow the below steps
How to Add Providers in Ionic3+
AppStateProvider - is developed for Temporary Storage which persists only when the app is live once the app is closed the AppState data will be destroyed. For small data to save permanently use StorageProvider which is a local Storage.
Providers are special classes which decorated with @Injectable decorator. Providers are used to a specific work. We can organize the code and code can be reused in multiple places e.g in pages, other providers too.
We will added now simple Local StorageProvider by using the command
ionic g provider Storage