Skip to content

trappar/props-provider

Repository files navigation

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

About

React Component for passing props to dynamic children

Resources

License

Stars

Watchers

Forks

Packages

No packages published