Blog

Showing 11 to 20 of 54 posts.

React native error "multiple commands produce.." Xcode 11

Posted on May 14th, 2020 in JavaScript, React Native by George

How to solve this issue? See the article

Read more...

How To Test React Components (hooks, Jest, Enzyme)

Posted on May 4th, 2020 in JavaScript by George

This article explains unit testing, integration testing, the end to end testing, and how to create React Component tests. 

The examples will use Jest and Enzyme for testing and the test components will be written using React hooks.

Read more...

Swift Array Map method with a trailing closure

Posted on April 27th, 2020 in Swift by George

Example of how to use map function with a trailing closure over an array value.

Read more...

What are JavaScript generators, function* generator?

Posted on April 27th, 2020 in JavaScript by George

Find out what a function generator looks like and what it is, with examples.

➜  jsstuff node generators.js
First Next Promise { <pending> }
{ name: 'George', age: 30, activityList: [ 'Coding', 'Running' ] }
Second Next { value: 1, done: false }
Third Next { value: '2', done: false }
Fourth Next { value: 'I am done here!', done: false }
Fifth Next { value: undefined, done: true }

 

Read more...

JavaScript Factory Design Pattern (using ES6 class)

Posted on April 16th, 2020 in JavaScript, NodeJS by George

A quick example of how to implement the factory pattern in Javascript using ES6 classes.

Read more...

JavaScript Singleton (using ES6 class)

Posted on April 16th, 2020 in JavaScript by George

An example of how to implement the Singleton pattern in JavaScript using ES6 class abstraction.

Read more...

4 NodeJS useful things to know

Posted on April 15th, 2020 in NodeJS by George

Useful commands and facts, for and about NodeJS.

Read more...

DNS Explained, Domain Name System

Posted on April 14th, 2020 in Miscellaneous by George

Short Explanation for Domain Name System ( DNS )

Read more...

React Redux Firebase SPA.

Posted on April 7th, 2020 in Miscellaneous by George

Visit www.spendingojs.com to check out my latest SPA application.

Read more...

How to locate Sql sqlite / .sqlite file for IOS Core Data application , SwiftUI Core Data Debug

Posted on February 23rd, 2020 in Swift by George

 

Sometimes you want to observe the database entries in your Core Data application.

You may want to use An Sqlite editor to debug but you don't know where to locate the .sqlite file.

Here is how to find the file and more!

Read more...

Categories