[READ-ONLY] Mirror of https://github.com/Schniz/react-contexter. Use Context with Higher Order Components for better testing and reuse.
0

Configure Feed

Select the types of activity you want to include in your feed.

removed imports

Gal Schlezinger (Oct 15, 2015, 2:22 AM +0300) dbc4b512 748a24b1

+2 -2
+2 -2
lib/index.js
··· 2 2 contexter.createContexter = createContexter; 3 3 contexter.contexter = contexter; 4 4 5 - import React, { PropTypes, Component } from 'react'; 5 + import React from 'react'; 6 6 7 7 function getComponentName(Component) { 8 - return Component.constructor.name || "Component"; 8 + return Component.constructor.name || 'Component'; 9 9 } 10 10 11 11 function createContexter(contextTypesObject) {