UNPKG

react-context-component

Version:

This is a React component that lets you add things in the context. Put simply, the [context feature](https://facebook.github.io/react/docs/context.html) basically lets you to pass some data through all nodes in the components tree.

30 lines (29 loc) 500 B
{ "extends": [ "babel", "prettier", "airbnb", "standard" ], "globals": { "fetch": true, "describe": false, "it": false, "beforeEach": false, "afterEach": false, "before": false, "after": false, "expect": true, "fail": true, "src": true, "sync": true, "test": true, "root": true }, "rules": { "import/no-extraneous-dependencies": [2, { }], "import/named": 2, "react/forbid-prop-types": 0, "strict": 0 } }