props-provider

1.1.4 • Public • Published

PropsProvider Build Status

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

Install as you would any other NPM dependency

npm install props-provider

License

license

Package Sidebar

Install

npm i props-provider

Weekly Downloads

3

Version

1.1.4

License

MIT

Last publish

Collaborators

  • trappar