PropsProvider

React Component for passing props to dynamic children

Introduction

The PropsProvider component primarily allows components to defer rendering details to their children. This allows for a higher degree of component reuse when those aspects are not intrinsically tied to each other.

This same concept already being used in many widely adopted libraries. For example, React Router v4 uses this idea to allow for deferred rendering of links. The advantage to using this component is standardization of the concept as well as additional functionality.

Table of Contents

Installation

Tutorial

Usage

Examples Paginator

License

Installation

Install as you would any other NPM dependency

npm install props-provider

License