Prakash Prem

172 Flips | 1 Magazine | 159 Likes | 6 Following | 3 Followers | @PrakashPrem | Keep up with Prakash Prem on Flipboard, a place to see the stories, photos, and updates that matter to you. Flipboard creates a personalized magazine full of everything, from world news to life’s great moments. Download Flipboard for free and search for “Prakash Prem”

Micro Frontends - how I built an SPA with Angular and React?

If you're working in a big company, you're probably struggling to work on a single application with multiple teams. You have the large codebase, …

JavaScript

3 Reasons why Angular 6 is the Future of Enterprise-Scale Web Applications

Ask any front-end developer today and they’ll tell you React is all the hotness. React can work on the web, your mobile device, your watch, and …

Understanding Redux: The World’s Easiest Guide to Beginning Redux

The course was pretty good, but I still don’t think Redux was well explained to a beginner like me. It wasn’t explained that well.<p>Redux is a …

Performance Profiling a Redux App

Redux apps are generally pretty easy to optimize for performance. Redux is default-fast, to an extent. By enforcing immutability, it offers a lot of …

Property-based testing

Last week I was visiting the ElixirConf EU 2018. Speakers were covering a bunch of interesting topics there. One of the most interesting ideas I’ve …

You might not need React Context

React 16.3 finally made the Context API stable. Since then, many developers started using it to solve the “prop-drilling” problem - the issue where …

Wunderscan - Brian Carrigan

I didn’t actually plan this project, but rather it found me. I was at the Scrap Exchange, a local reuse center, when I found a very nice looking …

Kafka, distributed coordination and the actor model

It seems that this blog post did not properly explain what it meant to replace Zookeeper with Kafka as the coordination mechanism for a cluster of …

Elixir: Do you have HTTP requests? You are doing them wrong!

The process of making HTTP requests in Elixir seems to be obvious for every developer: one should take <b>HTTPoison</b> (3,5M downloads from <b>Hex.pm</b>), and do …

How to Use New React Context API Detailed

React Context API is available in the react16.3 so let's build a counter using<br>Context API.<p>Context API helps us to pass down the data to the …

A quick guide to test-driven development in React

Following the principles of <b>Test-Driven Development</b> (TDD) when writing a front-endReact app might seem more difficult than doing the same on the …

Get notified of user signups and plan changes automatically using Postgres & Phoenix PubSub

A lot of time you need to make a system that can send out <b>notifications</b> to yourself or other users <b>based on events</b>, specifically events related to …

Testing React with Jest, Enzyme, and Sinon

In Frontend (React, Javascript) By Leigh Halliday March 29, 2018<p>In this article we'll look at how to get up and running with testing React in a …

Practical Functional JavaScript

Introduction to writing composable software<p>After working for serveral years with CMSs systems, I got very familiar with the idea that sophisticated …

Nodejs Authentication Using JWT and Refresh Token

Nodejs authentication using JWT a.k.a JSON web token is very useful when you are developing cross-device authentication mechanism.<p>Here is how token …

Issue 97, Mar 30, 2018

Web application that indexes all popular torrent sites, and saves it to the local database.<p>Elixir copy of grape for creating rest-like …

Do you really need WebSockets? – Not again

Over the years I’ve had this conversation a couple of times. This post will explain why we use WebSockets, how they can be used, what alternatives …

Advanced Techniques for Architecting Flow in Elixir

26 Mar 2018 // posted in Architecting Flow in Elixir<p>In the last post we explored how we can use either |> or with to model how <b>data flows through our</b> …

But really, what is a JavaScript mock?

<i>Let’s take a step back and understand what mocks are and how to use them to facilitate testing in JavaScript.</i><p><b>NOTE: This is a cross-post from</b> <b>my</b> …

TensorFlow Tutorial For Beginners

<i>Originally published at</i> <i>https://www.datacamp.com/community/tutorials/tensorflow-tutorial</i><p>Deep learning is a subfield of machine learning that is a set …

Result Types and Addictive Utility Functions

You’ve Been Using the Result Type All Along<p>Many functional languages have the concept of a Result type. It is a data structure that represents the …

Reducing boilerplate in Redux Apps with Arc

Redux is awesome! But people often complain about how much boilerplate they have to write when working with it. Part of this problem, is because they …

The problem

react-testing-library<p>Simple and complete React DOM testing utilities that encourage good testing practices.<p>You want to write maintainable tests for …

React State From the Ground Up

As you begin to learn React, you will be faced with understanding what state is. State is hugely important in React, and perhaps a big reason you’ve …

I am a mediocre developer - DEV Community 👩‍💻👨‍💻

I personally know some developers who are very talented and can create wonderful pieces of software with no or little struggle. Because of these …

Stack Overflow

A code review checklist prevents stupid mistakes

My team uses a code review checklist to prevent stupid mistakes from causing us problems and wasting time. In this post, I want to share the reasons …

Everything as a Service

Last month Benedict Evans observed that The Best is the Last:<p>A technology often produces its best results just when it’s ready to be replaced — it’s …