Tagged template literals in Styled components

Styled components is the new rage in the world of React. It allows to define components with accompanying style like below.

The above code defines a Button component which is styled based on a link element. The style is defined

Using Recompose for writing elegant Higher Order Components

What is a HOC? Higher Order Component (HOC) is a function which accepts a base component and returns a decorated component.

The component that the HOC returns is a stateless functional component. At its most basic form, the base