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

Function App

examples/react/start/src/routes/index.tsx:19–124  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected