Tagged: webdev

0

sessionStorage vs localStorage vs cookie applications

sessionStorage, localStorage and cookie all are solutions to store data on client side. They can be used for session management user preference management To setup never expiring tokens and many others. sessionStorage – persists...

0

webpack with babel6 and react

In this post we will walk through the basic setup to make babel6 work with webpack. Assuming you have installed webpack. On a high level, Babel has the following architecture. Click on the image...

0

exports is not defined

This is very common error when your project has ES6 modules as well as require.js module systems. Here, I will show you few examples on how to require ES6 modules inside an AMD module....

0

webview – load html file

In this post I will show you how to load local html file inside a webview follow these four simple steps. This is a continuation of the post Getting started with webview in chrome...

0

Getting started with webview in chrome apps

Do you want to get started in building great chrome applications using webview? You have come to the right place. Let’s get started. In this small exercise, we will make a chrome app which...

0

css specificity interview question

Specificity allows browsers to decide which CSS property values are the most relevant to an element and, therefore, will be applied. Specificity only applies when the same element is targeted by multiple declarations. Inline...

0

Create Reducer for Redux Applications

In redux you will have to generate reducers to update the state. You will have to call relevant reducer based on the action type. For example, function setSurveySuccess(state, action) { … return newState; }...