+
+
+
+ {this.props.children}
+
+
+ );
+ }
+
+ componentWillReceiveProps(props){
+ console.log(props);
+ }
+}
+
+App.childContextTypes = {
+ username : React.PropTypes.string,
+ imageSize : React.PropTypes.number
+};
+
+export default App;
diff --git a/src/App.test.js b/src/App.test.js
new file mode 100644
index 0000000..b84af98
--- /dev/null
+++ b/src/App.test.js
@@ -0,0 +1,8 @@
+import React from 'react';
+import ReactDOM from 'react-dom';
+import App from './App';
+
+it('renders without crashing', () => {
+ const div = document.createElement('div');
+ ReactDOM.render(