Monthly Archives: October 2020

Performance optimization with useMemo and useReducer

React Hooks introduced some memory optimization hooks to improve performance. Data Hooks are hooks which store data. You store data that the specified portion of the UI specifically relies on for visual changes and memoize/cache data that a given portion UI don’t directly rely on for visual changes.  Storing is different from memoizing/caching. There’s a Continue Reading »

SSL pinning with public key using TrustKit

In today’s advance environment, everybody will be comfortable with automation rather than applying manual efforts. With Trustkit, one can easily validate the certificate’s public key by typing only a few lines of codes and also, it comes with extra functionalities like reporting or fallback public keys. Step 1: Extracting the public key of the certificate Continue Reading »

Offline data handling in iOS

Why Offline handling? Offline data handling in iOS apps isn’t an extra feature anymore. Users want and expect it as a default feature in apps. So it is necessary to save data in our apps.  Data from researches and surveys show that users abandon pages if they take more than 3 seconds to load. This Continue Reading »

Lifecycle Methods

Today we are going to discuss React life cycle methods. What are the lifecycle methods and how these lifecycle methods work? Let’s start by creating a basic component (say Hello world) which we all have created as a beginner. class HelloWorld extends React.Component {       render() {      return <h1> Hello World </h1>      Continue Reading »

Spring Boot Multiple Database Configuration

Sometimes it’s our application requirement to deal with multiple databases. Spring Boot helps us to configure multiple databases in a single application. This blog will help to configure multiple datasources into a spring boot application. To use multiple DataSources, let’s add the following details in the property file. Here we configured ‘foo’ datasource and ‘bar’ Continue Reading »

Android in-app Purchases

Introduction: At some point, we need to earn revenue through our application. We can monetize our application for removing ads, selling physical goods, providing some enhanced functionality to users. We can follow different monetization strategies that depend upon our application. Using Google Play Billing:  According to android documentations- You can use Google Play’s billing system Continue Reading »

Multi-Threading

Q= What is multithreading? Multithreading is the most important concept, every developer must know about them. When we try to execute multiple tasks at the same time then our Ui get stuck and wait for another task to be completed. Because our iPhone has only one CPU and it can perform only one operation at Continue Reading »