A Higher Order Components (HOC) is a function that accepts a Component as an argument and returns a Component.  It is an advanced technique to React for reusing component logic. HOCs are a pattern that emerges from React’s compositional nature. Examples of Higher-Order Components (HOCs) There are many, but some notable ones: The most common is probably Redux ’s […]

Read More →

The  React v16.0 release was a big one and among the changes are fragments, error boundaries, portals, support for custom DOM attributes, improved server-side-rendering and reduced file size. We will talk about the Portals here. What is React Portal? A way of rendering a child component outside the present Dom-Node-Hierarchy as opposed to the traditional […]

Read More →