Categories
Ionic Opinions

How to solve an Ionic app crashing on launch

Suddenly all of my Ionic apps started crashing. This is the error I got. TL;DR, If chrome is not present or disabled than your ionic app might crash on launch. This rules only applies on debug builds of your app. Continue reading if you want to know how I figured it out. There might be […]

Categories
Angular NGRX Opinions Tutorials

NGRX Actions & Unexpected Enum Bug

Enums are set of named constants. Their ability to create a set of distinct cases makes it best option to use with our ngrx reducers. We use those enums to represent NGRX actions as

Categories
Angular Java Script Tutorials

Barrel file benefits in JavaScript

Barrel file is a single place to re export your functions, variables etc for your modules. I have divided this post into Introduction Caveats Case Study

Categories
Angular Tutorials

Fix Angular Error: Cannot set base providers because it has already been called

Those of you who are getting into angular testing, normally face this error. Usually this happen when we set the testing environment for Angular. These are the lines These are the culprits TestBed.initTestEnvironment( BrowserDynamicTestingModule, platformBrowserDynamicTesting() ) // or wrapped in beforeAll beforeAll(() { TestBed.initTestEnvironment( BrowserDynamicTestingModule, platformBrowserDynamicTesting() ) }) Diagnosing & Solution I might not have […]

Categories
Electron Tutorials

Writing your first app with Electron

This post is in continuation with the previous posts about creating desktop application using Electron app framework I have covered Introduction in previous post. Our Approach We can get started with two approaches Bottom to top: With this approach we can start really from basics like words, sentence and paragraph and build up. Top to […]