react-tunnel
react-tunnel copied to clipboard
React components and decorators for putting context-like values into context and pulling them out as props
PR created as discussed in https://github.com/gnoff/react-tunnel/issues/7 It includes: * Prettier * Updated babel, added babel-preset-2015 babel-preset-react babel-preset-stage-0 and babel-plugin-transform-decorators-legacy * React 16 as a devDepedency * Added prop-types to Provider.spec.js...
Get this when using react-tunnel: `Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.` from: ``` function createProvider(React) { var Component =...