SmartScribs

Quench your Curiosity

Map and Object in Javascript.

Recently, while developing an application for my startup in React Native, I encountered a strange issue. My firebase query was giving a sorted result, which I was storing in an Object. But while retrieving the data from that object, the order was not the same. After lots of googling, I finally realized, I chose the […]

Read More

Javascript Array Functions

Arrays are one of the most used, and one of the most important data structures. All kinds of programming languages provide different ways to work with arrays. I have often seen students and early adopters of Javascript writing long functions, iterating over the array to solve some trivial problems. Javascript, with the kind of community […]

Read More

Continuous Deployment Using Github Actions

Ever since taking control of Github in its hands, Microsoft has been making regularly making it more attractive. Github Actions is one of the noteworthy features rolled out after Microsoft’s acquisition of GitHub. In this article, we are going to understand what a Github Action is and then try to make a pipeline for Continuous […]

Read More

Increase you productivity with Lodash

Being a software developer, you have to write certain utility functions time and again for the same project. We have already discussed a lot of JavaScript tricks here . In this article, we discuss Lodash. Lodash is one of the most used JavaScript library that provides a lot of utility methods that eases the task […]

Read More

Proxy in JavaScript

JavaScript has been revolutionized by the features introduced in the ES6 syntax. One of those new features which can make the lives of developers is very easy is the Proxy object. The proxy object is used to define custom execution on standard behaviors of any object. You can simply override the default standard behaviors of […]

Read More

Currying in JavaScript

Currying in JavaScript is a feature that is only enabled by the functional nature of programming language. Functional programming is a style of programming that attempts to pass functions as arguments(callbacks) and return functions without side-effects(changes to the program’s state). Currying is transforming a function that takes multiple arguments into a sequence of nested functions.  […]

Read More

Generators in JavaScript

As a programmer, function is an intuitive way of breaking down the logic into small modules. But ES6 syntax in JS provides something greater. They provide you a new way of working with functions in the form of generators. Generators , in layman terms, are functions with play pause functionality.  They are very closely linked […]

Read More