MCPcopy Create free account
hub / github.com/TanStack/devtools / App

Function App

examples/react/bundling-repro/src/routes/index.tsx:13–118  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11export const Route = createFileRoute('/')({ component: App })
12
13function App() {
14 const features = [
15 {
16 icon: <Zap className="w-12 h-12 text-cyan-400" />,
17 title: 'Powerful Server Functions',
18 description:
19 'Write server-side code that seamlessly integrates with your client components. Type-safe, secure, and simple.',
20 },
21 {
22 icon: <Server className="w-12 h-12 text-cyan-400" />,
23 title: 'Flexible Server Side Rendering',
24 description:
25 'Full-document SSR, streaming, and progressive enhancement out of the box. Control exactly what renders where.',
26 },
27 {
28 icon: <RouteIcon className="w-12 h-12 text-cyan-400" />,
29 title: 'API Routes',
30 description:
31 'Build type-safe API endpoints alongside your application. No separate backend needed.',
32 },
33 {
34 icon: <Shield className="w-12 h-12 text-cyan-400" />,
35 title: 'Strongly Typed Everything',
36 description:
37 'End-to-end type safety from server to client. Catch errors before they reach production.',
38 },
39 {
40 icon: <Waves className="w-12 h-12 text-cyan-400" />,
41 title: 'Full Streaming Support',
42 description:
43 'Stream data from server to client progressively. Perfect for AI applications and real-time updates.',
44 },
45 {
46 icon: <Sparkles className="w-12 h-12 text-cyan-400" />,
47 title: 'Next Generation Ready',
48 description:
49 'Built from the ground up for modern web applications. Deploy anywhere JavaScript runs.',
50 },
51 ]
52
53 return (
54 <div className="min-h-screen bg-gradient-to-b from-slate-900 via-slate-800 to-slate-900">
55 <section className="relative py-20 px-6 text-center overflow-hidden">
56 <div className="absolute inset-0 bg-gradient-to-r from-cyan-500/10 via-blue-500/10 to-purple-500/10"></div>
57 <div className="relative max-w-5xl mx-auto">
58 <div className="flex items-center justify-center gap-6 mb-6">
59 <img
60 src="/tanstack-circle-logo.png"
61 alt="TanStack Logo"
62 className="w-24 h-24 md:w-32 md:h-32"
63 />
64 <h1 className="text-6xl md:text-7xl font-black text-white [letter-spacing:-0.08em]">
65 <span className="text-gray-300">TANSTACK</span>{' '}
66 <span className="bg-gradient-to-r from-cyan-400 to-blue-400 bg-clip-text text-transparent">
67 START
68 </span>
69 </h1>
70 </div>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected