MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / App

Class App

code/composition/src/app.jsx:26–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24};
25
26class App extends React.Component {
27 render() {
28 return (
29 <Header track={ this._track } title={ <Title /> }>
30 <Navigation track={ this._track } />
31 <DataProvider render={ message => <p>{ message }</p> } />
32 </Header>
33 );
34 }
35 _track(label) {
36 console.log(`Tracking: ${ label }`);
37 }
38};
39
40ReactDOM.render(<App />, document.querySelector('#container'));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected