MCPcopy Create free account
hub / github.com/DavidWells/analytics / render

Method render

examples/preact/src/app.js:43–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41 };
42
43 render() {
44 return (
45 <div id="app">
46 <Header />
47 <Router onChange={this.handleRoute}>
48 <Home path='/' />
49 <About path='/about' />
50 <Login path="/login" />
51
52 <PrivateRoute
53 path="/dashboard"
54 component={() => <Dashboard />}
55 />
56 <PrivateRoute
57 path="/dashboard/:id"
58 component={(p) => <DashboardItem {...p} />}
59 />
60 <PrivateRoute
61 path="/dashboard/profile"
62 component={() => <Profile user="me" />}
63 />
64
65 <NotFound type="404" default />
66 </Router>
67 </div>
68 )
69 }
70}

Callers 1

index.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected