diff --git a/knip.jsonc b/knip.jsonc index d0e4574ed..e3cbcadc4 100644 --- a/knip.jsonc +++ b/knip.jsonc @@ -26,25 +26,7 @@ "src/components/application-starter/index.ts", "src/components/game/engine/entities/index.ts", "src/components/icons/BaseballCapIcon.tsx", - "src/components/icons/YinYangIcon.tsx", "src/components/npm-stats/index.ts", - "src/libraries/cli.tsx", - "src/libraries/config.tsx", - "src/libraries/db.tsx", - "src/libraries/devtools.tsx", - "src/libraries/form.tsx", - "src/libraries/hotkeys.tsx", - "src/libraries/intent.tsx", - "src/libraries/pacer.tsx", - "src/libraries/query.tsx", - "src/libraries/ranger.tsx", - "src/libraries/react-charts.ts", - "src/libraries/router.tsx", - "src/libraries/start.tsx", - "src/libraries/store.tsx", - "src/libraries/table.tsx", - "src/libraries/virtual.tsx", - "src/libraries/workflow.tsx", "src/mcp/oauth.server.ts", "src/queries/auth.ts", "src/server/blog.ts", diff --git a/src/components/icons/YinYangIcon.tsx b/src/components/icons/YinYangIcon.tsx deleted file mode 100644 index 7be73cf4c..000000000 --- a/src/components/icons/YinYangIcon.tsx +++ /dev/null @@ -1,26 +0,0 @@ -import * as React from 'react' - -export function YinYangIcon({ - className, - width = '1em', - height = '1em', - ...props -}: React.SVGProps) { - return ( - - - - ) -} diff --git a/src/libraries/cli.tsx b/src/libraries/cli.tsx deleted file mode 100644 index fab961714..000000000 --- a/src/libraries/cli.tsx +++ /dev/null @@ -1,85 +0,0 @@ -import { - RobotIcon, - StackIcon, - PuzzlePieceIcon, - RocketIcon, - TerminalIcon, -} from '@phosphor-icons/react' -import { twMerge } from 'tailwind-merge' -import { cli } from './libraries' - -const textStyles = 'text-category-tooling' - -export const cliProject = { - ...cli, - featureHighlights: [ - { - title: 'MCP Server', - icon: , - description: ( -
- Connect your AI assistant to TanStack via the{' '} - - built-in MCP server - - . Search docs, get integration file changes, and let AI agents help - scaffold and configure your projects. -
- ), - }, - { - title: 'Modular Integrations', - icon: , - description: ( -
- Choose from a growing ecosystem of{' '} - - pre-built integrations - {' '} - for authentication, databases, styling, deployment, and more. -
- ), - }, - { - title: 'Interactive Builder', - icon: , - description: ( -
- Use the{' '} - - web-based Builder UI - {' '} - to visually select your stack, preview generated files, and export - your configuration. -
- ), - }, - { - title: 'Zero to Production', - icon: , - description: ( -
- Go from{' '} - - zero to a fully configured project - {' '} - in seconds with all the boilerplate, configuration, and best practices - built in. -
- ), - }, - { - title: 'Deploy Anywhere', - icon: , - description: ( -
- Built-in deployment integrations for{' '} - - Cloudflare, Netlify, AWS, and more - - . Pre-configured with optimal settings for TanStack Start. -
- ), - }, - ], -} diff --git a/src/libraries/config.tsx b/src/libraries/config.tsx deleted file mode 100644 index adbb9aaa5..000000000 --- a/src/libraries/config.tsx +++ /dev/null @@ -1,64 +0,0 @@ -import { MagicWandIcon, LightningIcon, GearIcon } from '@phosphor-icons/react' -import { twMerge } from 'tailwind-merge' -import { config } from './libraries' - -const textStyles = 'text-category-tooling' - -export const configProject = { - ...config, - description: `Opinionated tooling to lint, build, test, version, and publish JS/TS packages — minimal config, consistent results.`, - latestBranch: 'main', - featureHighlights: [ - { - title: 'Intuitive Configuration', - icon: , - description: ( -
- TanStack Config offers a seamless and intuitive configuration - management system that simplifies the process of building and - publishing high-quality JavaScript packages. TanStack Config{' '} - - streamlines the configuration process, allowing developers to focus - on writing code - {' '} - without the hassle of intricate setup procedures. -
- ), - }, - { - title: 'Vite-Powered Builds', - icon: , - description: ( -
- TanStack Config's build configuration harnesses the Vite ecosystem. - Customize and extend your build workflows with ease, tailoring them to - meet the unique requirements of your project.{' '} - - Whether you need advanced optimizations, pre-processors, or other - specialized tools, - {' '} - TanStack Config provides a robust foundation for crafting a build - pipeline that suits your specific needs. -
- ), - }, - { - title: 'Effortless Publication', - icon: , - description: ( -
- Say goodbye to the complexities of code publishing. This package - provides tools designed to automate the publication of your projects. - Developers can effortlessly publish updates, manage versioning, and - release on npm and GitHub.{' '} - - TanStack Config takes care of the tedious aspects of package - publishing, - {' '} - empowering developers to share their work with the community - efficiently. -
- ), - }, - ], -} diff --git a/src/libraries/db.tsx b/src/libraries/db.tsx deleted file mode 100644 index c9ba6e35c..000000000 --- a/src/libraries/db.tsx +++ /dev/null @@ -1,47 +0,0 @@ -import { StackIcon, LightningIcon, GearIcon } from '@phosphor-icons/react' -import { twMerge } from 'tailwind-merge' -import { db } from './libraries' - -const textStyles = `text-category-data` - -export const dbProject = { - ...db, - description: `TanStack DB gives you a reactive, client-first store for your API data with collections, live queries and optimistic mutations that keep your UI reactive, consistent and blazing fast 🔥`, - latestBranch: 'main', - defaultDocs: 'overview', - featureHighlights: [ - { - title: 'Collections', - icon: , - description: ( -
- Collections are typed sets of objects. Sync or load data into them. - Query across them with live queries and write locally to them using - optimistic mutations. -
- ), - }, - { - title: 'Live Queries', - icon: , - description: ( -
- Live queries run reactively against and across collections. They're - super fast, powered by differential dataflow, with support for joins, - filters and aggregates. -
- ), - }, - { - title: 'Optimistic mutations', - icon: , - description: ( -
- Batch and stage instant local changes across collections. Sync - transactions to the backend with automatic management of rollbacks and - optimistic state. -
- ), - }, - ], -} diff --git a/src/libraries/devtools.tsx b/src/libraries/devtools.tsx deleted file mode 100644 index 6423ba93b..000000000 --- a/src/libraries/devtools.tsx +++ /dev/null @@ -1,59 +0,0 @@ -import { MagicWandIcon, LightningIcon, GearIcon } from '@phosphor-icons/react' -import { twMerge } from 'tailwind-merge' -import { devtools } from './libraries' - -const textStyles = 'text-category-tooling' - -export const devtoolsProject = { - ...devtools, - description: `A unified devtools panel that houses all TanStack devtools and allows you to create and integrate your own custom devtools.`, - latestBranch: 'main', - featureHighlights: [ - { - title: 'Unified Devtools Panel', - icon: , - description: ( -
- TanStack Devtools provides a centralized panel that houses all - TanStack library devtools in one place. No more switching between - different devtools panels - everything you need is{' '} - - organized and accessible from a single interface - {' '} - for a streamlined development experience. -
- ), - }, - { - title: 'Framework Agnostic', - icon: , - description: ( -
- Built with Solid.js for lightweight performance, but designed to work - within any framework. Create and integrate your own custom devtools - regardless of your tech stack.{' '} - - Whether you're using React, Vue, Angular, or any other framework, - {' '} - TanStack Devtools provides the flexibility you need. -
- ), - }, - { - title: 'Custom Devtools Support', - icon: , - description: ( -
- Extend the devtools panel with your own custom devtools. The platform - is designed to be extensible, allowing you to create devtools for your - specific needs and integrate them seamlessly.{' '} - - Build, share, and use custom devtools that enhance your development - workflow - {' '} - while maintaining the same unified experience. -
- ), - }, - ], -} diff --git a/src/libraries/form.tsx b/src/libraries/form.tsx deleted file mode 100644 index 759d8dc3e..000000000 --- a/src/libraries/form.tsx +++ /dev/null @@ -1,86 +0,0 @@ -import { MagicWandIcon, LightningIcon, GearIcon } from '@phosphor-icons/react' -import { twMerge } from 'tailwind-merge' -import { form } from './libraries' - -const textStyles = 'text-category-ui' - -export const formProject = { - ...form, - description: `Headless, performant, and type-safe form state management for TS/JS, React, Vue, Angular, Solid, Lit and Svelte.`, - latestBranch: 'main', - testimonials: [ - { - quote: - 'TanStack Form is a new headless form library that makes building more complex and interactive forms easy. Given the high quality of all the other libraries in the TanStack suite, I was excited to give this new form library a try.', - author: 'This Dot Labs', - role: '@ThisDotLabs', - company: 'This Dot', - }, - { - quote: - 'It seemed like an interesting library with its simple APIs so I started studying it. Having fun helping Form get to 1.0.', - author: 'Leonardo Montini', - role: '@DevLeonardo', - company: 'TanStack Maintainer', - }, - { - quote: - 'First-class TypeScript support with outstanding autocompletion, excellent generic throughput and inferred types everywhere possible.', - author: 'TanStack Form Docs', - role: 'Official', - company: 'TanStack', - }, - ], - featureHighlights: [ - { - title: 'First-Class TypeScript Support', - icon: , - description: ( -
- TanStack Form touts first-class TypeScript support with outstanding - autocompletion, excellent generic throughput and inferred types - everywhere possible.{' '} - - This results in fewer runtime errors, increased code - maintainability, and a smoother development experience - {' '} - to help you confidently build robust and type-safe form solutions that - scale. -
- ), - }, - { - title: 'Headless and Framework Agnostic', - icon: , - description: ( -
- Form's headless and framework agnostic approach ensures maximum - flexibility and broad compatibility with many front-end frameworks, or - no framework at all. By both supplying and encouraging a headless - approach to your forms, building custom reusable form components - tailored to your application's needs{' '} - - requires little abstraction and keeps your code modular, simple and - composable. - -
- ), - }, - { - title: 'Granular Reactive Performance', - icon: , - description: ( -
- When it comes to performance, TanStack Form delivers amazing speed and - control, but without the cruft, boilerplate, or abstractions. With - granularly reactive APIs at its core,{' '} - - only relevant components are updated when the form state changes. - {' '} - The end result? A faster UI, happy users, and zero worries about - performance. -
- ), - }, - ], -} diff --git a/src/libraries/hotkeys.tsx b/src/libraries/hotkeys.tsx deleted file mode 100644 index b79fd4e42..000000000 --- a/src/libraries/hotkeys.tsx +++ /dev/null @@ -1,66 +0,0 @@ -import { - KeyboardIcon, - ListNumbersIcon, - MagicWandIcon, -} from '@phosphor-icons/react' -import { twMerge } from 'tailwind-merge' -import { hotkeys } from './libraries' - -const textStyles = 'text-category-performance' - -export const hotkeysProject = { - ...hotkeys, - description: `A type-safe, cross-platform hotkey library with scopes, sequences, user rebinding, platform-correct labels, and devtools, with adapters for React, Vue, Solid, Svelte, Angular, and more.`, - latestBranch: 'main', - defaultDocs: 'overview', - featureHighlights: [ - { - title: 'Type-Safe & Cross-Platform', - icon: , - description: ( -
- Define keyboard shortcuts with a{' '} - - fully type-safe Hotkey string type - {' '} - that validates key combinations at the type level. Cross-platform{' '} - Mod modifier automatically maps to Cmd on macOS and Ctrl - elsewhere, so your shortcuts work everywhere without platform checks. -
- ), - }, - { - title: 'Better Defaults', - icon: , - description: ( -
- Ships with{' '} - - sensible and safe defaults - - , including automatic preventDefault and{' '} - stopPropagation, smartly ignoring shortcuts when input - fields are focused, and automatic cleanup on unmount. Scoping hotkeys - to refs or elements is easy, making it straightforward to define - context-aware keyboard shortcuts without unexpected side-effects. -
- ), - }, - { - title: 'Sequences & Recording', - icon: , - description: ( -
- Build{' '} - - multi-step keyboard sequences - {' '} - like Vim-style commands or cheat codes with configurable timeouts. Let - users record and customize their own shortcuts with the built-in - hotkey recorder that captures modifier and key combinations in real - time. -
- ), - }, - ], -} diff --git a/src/libraries/intent.tsx b/src/libraries/intent.tsx deleted file mode 100644 index 7d4707ff4..000000000 --- a/src/libraries/intent.tsx +++ /dev/null @@ -1,59 +0,0 @@ -import { Library } from '.' -import { - BookOpenIcon, - PackageIcon, - ArrowsClockwiseIcon, -} from '@phosphor-icons/react' -import { twMerge } from 'tailwind-merge' -import { intent } from './libraries' - -const textStyles = `text-category-tooling` - -export const intentProject = { - ...intent, - featureHighlights: [ - { - title: 'Agent Skills in npm', - icon: , - description: ( -
- Ship{' '} - - Agent Skills - {' '} - — procedural knowledge agents load on demand — as part of your npm - package. Skills travel with your library via npm update, not the - model's training cutoff or copy-pasted rules files. -
- ), - }, - { - title: 'Automatic Discovery', - icon: , - description: ( -
- Agents discover skills automatically from{' '} - - node_modules - - . No manual setup per-library. Install the package and agents can find - and use the skills — compatible with the open Agent Skills format. -
- ), - }, - { - title: 'Staleness Detection', - icon: , - description: ( -
- Each skill declares its source docs. When those docs change,{' '} - - @tanstack/intent stale - {' '} - flags the skill for review. Run it in CI and you get a failing check - when sources drift — skills become part of your release checklist. -
- ), - }, - ], -} satisfies Library diff --git a/src/libraries/pacer.tsx b/src/libraries/pacer.tsx deleted file mode 100644 index 63fddca31..000000000 --- a/src/libraries/pacer.tsx +++ /dev/null @@ -1,67 +0,0 @@ -import { - ArrowsLeftRightIcon, - GaugeIcon, - MagicWandIcon, -} from '@phosphor-icons/react' -import { twMerge } from 'tailwind-merge' -import { pacer } from './libraries' - -const textStyles = `text-category-performance` - -export const pacerProject = { - ...pacer, - description: `Optimize your application's performance with TanStack Pacer's core primitives: Debouncing, Throttling, Rate Limiting, Queuing, and Batching.`, - latestBranch: 'main', - defaultDocs: 'overview', - featureHighlights: [ - { - title: 'Flexible & Type-Safe', - icon: , - description: ( -
- TanStack Pacer provides an intuitive and flexible API that works - across any JavaScript framework.{' '} - - Every utility is fully type-safe with reactive framework adapters - {' '} - that seamlessly connect to your state management of choice. Choose - from multiple layers of abstraction to confidently control timing in - your applications. -
- ), - }, - { - title: 'Optimize Performance', - icon: , - description: ( -
- Enhance your application's efficiency with flexible utilities for{' '} - - debouncing, throttling, rate limiting, queuing, and batching - - . Reduce unnecessary operations and resource consumption while - maintaining smooth user experiences. Built-in cleanup and cancellation - capabilities help prevent memory leaks and optimize resource usage. - Fine-tune behavior with flexible configuration options to match your - specific performance needs. -
- ), - }, - { - title: 'Async or Sync', - icon: , - description: ( -
- Choose between async or sync execution for each utility based on your - needs.{' '} - - Take advantage of optional built-in error handling, retries, abort - controllers, and status reporting - - . Perfect for handling both simple synchronous operations and complex - task pooling workflows with or without concurrency control. -
- ), - }, - ], -} diff --git a/src/libraries/query.tsx b/src/libraries/query.tsx deleted file mode 100644 index 0710dc739..000000000 --- a/src/libraries/query.tsx +++ /dev/null @@ -1,132 +0,0 @@ -import { MagicWandIcon, LightningIcon, GearIcon } from '@phosphor-icons/react' -import { twMerge } from 'tailwind-merge' -import { query } from './libraries' - -const textStyles = 'text-category-data' - -export const queryProject = { - ...query, - description: - 'Powerful asynchronous state management, server-state utilities and data fetching. Fetch, cache, update, and wrangle all forms of async data in your TS/JS, React, Vue, Solid, Svelte, Angular & Lit applications all without touching any "global state"', - latestBranch: 'main', - defaultDocs: 'framework/react/overview', - installPath: 'framework/$framework/installation', - legacyPackages: ['react-query'], - testimonials: [ - { - quote: - "Honestly, if React Query had been around before Redux, I don't think Redux would have been nearly as popular as it was.", - author: 'Kent C. Dodds', - role: '@kentcdodds', - company: 'Epic Web', - }, - { - quote: - 'If I could go back in time and mass myself... I would hand myself a flash drive with a copy of react-query on it.', - author: 'Kent C. Dodds', - role: '@kentcdodds', - company: 'Epic Web', - }, - { - quote: "React Query won. There's no denying that.", - author: 'Theo Browne', - role: '@t3dotgg', - company: 'Ping Labs', - }, - { - quote: - 'TanStack Query has been a game-changer for us. We love using it for react-admin.', - author: 'react-admin', - role: '@ReactAdmin', - company: 'Marmelab', - }, - { - quote: - 'The more I use React + Vite + TanStack Router + TypeScript + TanStack Query, the more I love it.', - author: 'Catalin Pit', - role: '@catalinmpit', - company: 'Developer Advocate', - }, - { - quote: - 'Combined with React Query, this stack has been a game-changer for my productivity.', - author: 'Dominik (TkDodo)', - role: '@TkDodo', - company: 'TanStack', - }, - ], - featureHighlights: [ - { - title: 'Declarative & Automatic', - icon: ( - - ), - description: ( -
- Writing your data fetching logic by hand is over. Tell TanStack Query - where to get your data and how fresh you need it to be and the rest is - automatic. It handles{' '} - - caching, background updates and stale data out of the box with - zero-configuration - - . -
- ), - }, - { - title: 'Simple & Familiar', - icon: ( - - ), - description: ( -
- If you know how to work with promises or async/await, then you already - know how to use TanStack Query. There's{' '} - - no global state to manage, reducers, normalization systems or heavy - configurations to understand - - . Simply pass a function that resolves your data (or throws an error) - and the rest is history. -
- ), - }, - { - title: 'Extensible', - icon: ( - - ), - description: ( -
- TanStack Query is configurable down to each observer instance of a - query with knobs and options to fit every use-case. It comes wired up - with{' '} - - dedicated devtools, infinite-loading APIs, and first class mutation - tools that make updating your data a breeze - - . Don't worry though, everything is pre-configured for success! -
- ), - }, - ], -} diff --git a/src/libraries/ranger.tsx b/src/libraries/ranger.tsx deleted file mode 100644 index 07a8fb054..000000000 --- a/src/libraries/ranger.tsx +++ /dev/null @@ -1,68 +0,0 @@ -import { - ChatCircleDotsIcon, - PlugsIcon, - ArrowClockwiseIcon, -} from '@phosphor-icons/react' -import { twMerge } from 'tailwind-merge' -import { ranger } from './libraries' - -const textStyles = 'text-category-tooling' - -export const rangerProject = { - ...ranger, - description: `Headless, lightweight, and extensible primitives for building range and multi-range sliders.`, - latestBranch: 'main', - featureHighlights: [ - { - title: 'Typesafe & powerful, yet familiarly simple', - icon: ( - - ), - description: ( -
- Hooks for building range and multi-range sliders in React{' '} - - 100% typesafe without compromising on DX - - . -
- ), - }, - { - title: '"Headless" UI library', - icon: ( - - ), - description: ( -
- Headless and extensible. Ranger doesn't render or supply any actual UI - elements. It's a{' '} - - utility for building your own custom-designed UI components - - . -
- ), - }, - { - title: 'Extensible', - icon: , - description: ( -
- Designed with maximum inversion of control in mind, Ranger is built to - be{' '} - - easily extended and customized - {' '} - to fit your needs. -
- ), - }, - ], -} diff --git a/src/libraries/react-charts.ts b/src/libraries/react-charts.ts deleted file mode 100644 index 94c88bf03..000000000 --- a/src/libraries/react-charts.ts +++ /dev/null @@ -1,11 +0,0 @@ -import type { Library } from './types' -import { categoryStyles } from './categories' - -export const reactChartsProject = { - id: 'react-charts', - name: 'React Charts', - ...categoryStyles.tooling, - to: 'https://react-charts.tanstack.com', - tagline: `Simple, immersive & interactive charts for React`, - description: `Flexible, declarative, and highly configurable charts designed to pragmatically display dynamic data.`, -} as Library diff --git a/src/libraries/router.tsx b/src/libraries/router.tsx deleted file mode 100644 index a819f5df9..000000000 --- a/src/libraries/router.tsx +++ /dev/null @@ -1,121 +0,0 @@ -import { - DatabaseIcon, - ChatCircleDotsIcon, - PlugsIcon, -} from '@phosphor-icons/react' -import { twMerge } from 'tailwind-merge' -import { router } from './libraries' - -const textStyles = 'text-category-framework' - -export const routerProject = { - ...router, - description: `A powerful React router for client-side and full-stack react applications. Fully type-safe APIs, first-class search-params for managing state in the URL and seamless integration with the existing React ecosystem.`, - latestBranch: 'main', - docsRoot: 'docs/router', - defaultDocs: 'framework/react/overview', - legacyPackages: ['react-location'], - hideCodesandboxUrl: true as const, - showVercelUrl: false, - showNetlifyUrl: false, - showCloudflareUrl: false, - showRailwayUrl: false, - testimonials: [ - { - quote: - "The biggest problem with TanStack Router is that once you've worked with it, you'll have a harder time going back to other routing solutions.", - author: 'Dominik (TkDodo)', - role: '@TkDodo', - company: 'TanStack', - }, - { - quote: - "TanStack Router lives and breathes TypeScript - it's meant for it, they are a perfect match.", - author: 'Dominik (TkDodo)', - role: '@TkDodo', - company: 'TanStack', - }, - { - quote: - 'I took a few hours to switch to the file-based generation and was very impressed. Then I used auto codesplitting and was blown away. This is absolutely phenomenal!', - author: 'GitHub User', - role: 'Migration Thread', - company: 'TanStack Community', - }, - { - quote: - 'The more I use React + Vite + TanStack Router + TypeScript + TanStack Query, the more I love it.', - author: 'Catalin Pit', - role: '@catalinmpit', - company: 'Developer Advocate', - }, - { - quote: - 'I just got Elysia to work with TanStack Router, amazing dx so far..', - author: 'An Le', - role: '@anlett10', - company: 'Developer', - }, - { - quote: - "I've been using Tanstack Start for a new project and it's super good. The server functions completely replace the need for TRPC/GraphQL/REST.", - author: 'Developer', - role: 'TanStack Community', - company: '', - }, - ], - featureHighlights: [ - { - title: 'Typesafe & powerful, yet familiarly simple', - icon: , - description: ( -
- TanStack Router builds on modern routing patterns made popular by - other tools, but has been re-engineered from the ground up to be{' '} - - 100% typesafe without compromising on DX - - . You can have your cake and eat it too! -
- ), - }, - { - title: 'Built-in Data Fetching with Caching', - icon: ( - - ), - description: ( -
- Hoist your data fetching and avoid waterfalls with TanStack Router's - loader API and get{' '} - - instant navigations with built-in caching and automatic preloading - - . Need something more custom? Router's API is designed to work with - your favorite client-side cache libraries! -
- ), - }, - { - title: 'Search Param APIs to make your state-manager jealous', - icon: , - description: ( -
- Instead of throwing you to the URLSearchParam wolves, TanStack Router - outfits you with state-manager-grade search param APIs. With{' '} - - schemas, validation, full type-safety and pre/post manipulation - - , you can manage your state in the URL and easily sync it to your - state-manager of choice. -
- ), - }, - ], -} diff --git a/src/libraries/start.tsx b/src/libraries/start.tsx deleted file mode 100644 index c68512af8..000000000 --- a/src/libraries/start.tsx +++ /dev/null @@ -1,162 +0,0 @@ -import { NetworkIcon, RocketIcon, WarningIcon } from '@phosphor-icons/react' -import { twMerge } from 'tailwind-merge' -import { redirect } from '@tanstack/react-router' -import { YinYangIcon } from '~/components/icons/YinYangIcon' -import { start } from './libraries' - -const textStyles = 'text-category-framework' - -export const startProject = { - ...start, - latestBranch: 'main', - docsRoot: 'docs/start', - embedEditor: 'codesandbox' as const, - defaultDocs: 'framework/react/overview', - installPath: 'framework/$framework/build-from-scratch', - showNetlifyUrl: true, - showCloudflareUrl: true, - showRailwayUrl: true, - // hide stackblitz until they support Async Local Storage - hideStackblitzUrl: true as const, - testimonials: [ - { - quote: - "I've been using Tanstack Start for a new project and it's super good. The server functions completely replace the need for TRPC/GraphQL/REST.", - author: 'Developer', - role: 'TanStack Community', - company: '', - }, - { - quote: - 'I just love how easy it is to read tanstack start code. Everything makes sense and flows naturally.', - author: 'Earnstein', - role: '@earnstein', - company: 'Developer', - }, - { - quote: - 'TanStack Start inside Astro is literally the perfect stack. Full-stack TypeScript with the best routing and data fetching.', - author: 'Shayan', - role: '@shayanAzd', - company: 'Developer', - }, - { - quote: - "TanStack Start is amazing. It's like Remix and Next had a baby that actually cares about TypeScript.", - author: 'Melvyn', - role: '@melvynxdev', - company: 'Developer', - }, - ], - featureHighlights: [ - { - title: 'Enterprise-Grade Routing', - icon: ( - - ), - description: ( -
- Built on TanStack Router, Start comes pre-packed with a{' '} - - fully type-safe and powerfully-unmatched routing system - {' '} - that is designed to handle the beefiest of full-stack routing - requirements with ease. Start builds on top of Router's fully inferred - type safety to also provide type-safe full-stack APIs that keep you in - the fast lane. -
- ), - }, - { - title: 'SSR, Streaming and Server RPCs', - icon: ( - - ), - description: ( -
- Who said rich and interactive applications can't have it all? TanStack - Start includes powerful capabilities for{' '} - - full-document SSR, streaming, server functions and RPCs - - . No more choosing between server-side rendering and top-class - client-side interactivity. Command the server as you see fit. -
- ), - }, - { - title: 'Client-Side First, 100% Server Capable', - icon: ( - - ), - description: ( -
- While other frameworks continue to compromise on the client-side - application experience we've cultivated as a front-end community over - the years, TanStack Start stays true to the{' '} - - client-side first developer experience, - {' '} - while providing a{' '} - - full-featured server-side capable system - {' '} - that won't make you compromise on user experience. -
- ), - }, - { - title: 'Deploy Anywhere', - icon: ( - - ), - description: ( -
- TanStack Start can be{' '} - - deployed anywhere JS can run - - . Whether you're hosting on a traditional server, a serverless - platform, or even a CDN, Start seamlessly builds, bundles and deploys - your application with ease. -
- ), - }, - ], - handleRedirects: (href: string) => { - // Redirect from /api-routes to /server-routes - if ( - href.match( - /\/start\/(latest|v1)\/docs\/framework\/(react|solid)\/api-routes/, - ) - ) { - throw redirect({ - href: href.replace('/api-routes', '/server-routes'), - }) - } - }, -} diff --git a/src/libraries/store.tsx b/src/libraries/store.tsx deleted file mode 100644 index e8ebcb20b..000000000 --- a/src/libraries/store.tsx +++ /dev/null @@ -1,61 +0,0 @@ -import { MagicWandIcon } from '@phosphor-icons/react' -import { twMerge } from 'tailwind-merge' -import { store } from './libraries' - -const textStyles = 'text-category-data' - -export const storeProject = { - ...store, - description: `The immutable-reactive data store that powers the core of TanStack libraries and their framework adapters.`, - latestBranch: 'main', - defaultDocs: 'overview', - featureHighlights: [ - { - title: 'Battle-Tested', - icon: , - description: ( -
- TanStack Store is widely adopted across the TanStack ecosystem, - powering libraries like TanStack Form, TanStack Router, and more. It - has been{' '} - - battle-tested in production environments, ensuring reliability and - performance - {' '} - for developers. -
- ), - }, - { - title: 'Tiny Bundle Size', - icon: , - description: ( -
- Designed with a focus on performance and efficiency, boasting a{' '} - - tiny bundle size - {' '} - that ensures fast loading times and minimal impact on application - performance. This makes it an ideal choice for developers looking to - optimize their applications. -
- ), - }, - { - title: 'Framework Agnostic', - icon: , - description: ( -
- TanStack Store is{' '} - - framework agnostic - - , with adapters available for popular frameworks like React, Vue, - Angular, Solid, and Svelte. This flexibility allows developers to use - the store in their preferred framework without being locked into a - specific ecosystem. -
- ), - }, - ], -} diff --git a/src/libraries/table.tsx b/src/libraries/table.tsx deleted file mode 100644 index fe9b39bed..000000000 --- a/src/libraries/table.tsx +++ /dev/null @@ -1,101 +0,0 @@ -import { - BracketsCurlyIcon, - LightningIcon, - GearIcon, -} from '@phosphor-icons/react' -import { twMerge } from 'tailwind-merge' -import { table } from './libraries' - -const textStyles = 'text-category-ui' - -export const tableProject = { - ...table, - description: `Headless, type-safe table and data-grid infrastructure with feature-level tree shaking, reactive state, fast row models, and adapters for React, Preact, Vue, Solid, Svelte, Angular, Ember, Lit, Alpine, and Octane.`, - latestBranch: 'main', - defaultDocs: 'introduction', - legacyPackages: ['react-table'], - testimonials: [ - { - quote: - 'Introducing Table and Data Table components. Powered by TanStack Table. With Pagination, Row Selection, Sorting, Filters, Row Actions and Keyboard Navigation.', - author: 'shadcn', - role: '@shadcn', - company: 'Vercel', - }, - { - quote: - 'I made a version using React Aria Components with arrow key navigation, multi selection, screen reader announcements, and more. Works great with TanStack Table too!', - author: 'Devon Govett', - role: '@devongovett', - company: 'Adobe', - }, - { - quote: - 'TanStack Table is the perfect choice if you need a lightweight, unopinionated, and fully customizable solution. It gives you the power and leaves the presentation up to you.', - author: 'Developer Review', - role: 'Community', - company: '', - }, - { - quote: - "Linear-style table filters using shadcn and TanStack Table. Open source. You'll be able to use this as an add-on to the Data Table component.", - author: 'Kian Bazza', - role: '@kianbazza', - company: 'Developer', - }, - ], - featureHighlights: [ - { - title: '100% Control', - icon: ( -
- -
- ), - description: ( -
- TanStack Table provides the state, row processing, and typed APIs - without prescribing your markup or styles. Having 100% control of your - code matters more than ever.{' '} - - Your semantics, components, design system, interactions, and source - code stay yours. Use any component library or design system, - including your own. - -
- ), - }, - { - title: 'Reactive by Design', - icon: , - description: ( -
- Every registered state slice is backed by TanStack Store, whose - fine-grained reactivity is built on alien-signals. Read a selected - snapshot, subscribe exactly where state is rendered, or own a slice - with an external atom.{' '} - - Fine-grained reactivity keeps unrelated parts of a large table out - of the render path. - -
- ), - }, - { - title: 'Built to Extend', - icon: , - description: ( -
- Custom features use the same extension points as Table's built-ins. - Compose shared options with tableOptions, build app-level table - systems with createTableHook, and inspect live instances with the - supported Devtools integration.{' '} - - Scale from one headless table to a typed table platform for your - whole product. - -
- ), - }, - ], -} diff --git a/src/libraries/virtual.tsx b/src/libraries/virtual.tsx deleted file mode 100644 index b1a4aedf4..000000000 --- a/src/libraries/virtual.tsx +++ /dev/null @@ -1,89 +0,0 @@ -import { - PersonSimpleIcon, - LightningIcon, - GearIcon, -} from '@phosphor-icons/react' -import { twMerge } from 'tailwind-merge' -import { virtual } from './libraries' - -const textStyles = 'text-category-performance' - -export const virtualProject = { - ...virtual, - description: `Virtualize only the visible content for massive scrollable DOM nodes at 60FPS in TS/JS, React, Vue, Solid, Svelte, Lit, Angular & Marko while retaining 100% control over markup and styles.`, - latestBranch: 'main', - defaultDocs: 'introduction', - legacyPackages: ['react-virtual'], - testimonials: [ - { - quote: - 'We chose TanStack Virtual for our virtualization needs - it handles our massive lists without breaking a sweat.', - author: 'Evan Bacon', - role: '@Baconbrix', - company: 'Expo', - }, - { - quote: - 'TanStack Virtual is the answer when you need to render thousands of rows without destroying performance. Headless, flexible, and just works.', - author: 'Developer Review', - role: 'Community', - company: '', - }, - { - quote: - 'For anyone dealing with large datasets in React, TanStack Virtual is a must. The row virtualizer alone saved our app.', - author: 'Community Developer', - role: 'GitHub Discussion', - company: '', - }, - ], - featureHighlights: [ - { - title: 'Designed for zero design', - icon: ( -
- -
- ), - description: ( -
- Headless Virtualization means you're always in control of your{' '} - - markup, styles and components - - . Go design and implement the most beautiful UI you can dream up and - let us take care of the hard parts. -
- ), - }, - { - title: 'Big Power, Small Package', - icon: , - description: ( -
- Don't be fooled by the small bundle size. TanStack Virtual uses every - byte to deliver powerful performance. After all,{' '} - - 60FPS is table stakes - {' '} - these days and we refuse to sacrifice anything for that 🧈-y smooth - UX. -
- ), - }, - { - title: 'Maximum Composability', - icon: , - description: ( -
- With a single function/hook, you'll get limitless virtualization for{' '} - - vertical, horizontal, and grid-style{' '} - - layouts. The API is tiny (literally 1 function), but its composability - is not. -
- ), - }, - ], -} diff --git a/src/libraries/workflow.tsx b/src/libraries/workflow.tsx deleted file mode 100644 index 425cdcd54..000000000 --- a/src/libraries/workflow.tsx +++ /dev/null @@ -1,59 +0,0 @@ -import { - GitBranchIcon, - ArrowCounterClockwiseIcon, - ShieldCheckIcon, -} from '@phosphor-icons/react' -import { twMerge } from 'tailwind-merge' -import { workflow } from './libraries' - -const textStyles = 'text-category-tooling' - -export const workflowProject = { - ...workflow, - description: - 'Define durable, type-safe workflows for the messy parts of real applications: approvals, retries, fan-out, long-running jobs, and state you need to trust.', - featureHighlights: [ - { - title: 'Typed Workflows', - icon: , - description: ( -
- Model each step with TypeScript-first inputs, outputs, and shared - context.{' '} - - Your workflow graph stays understandable as it grows - - , with types carrying intent across every transition. -
- ), - }, - { - title: 'Durable Execution', - icon: , - description: ( -
- Keep critical business processes moving through deploys, restarts, and - slow external systems.{' '} - - Workflow state is designed to be resumed, inspected, and trusted - {' '} - instead of hidden inside one-off background jobs. -
- ), - }, - { - title: 'Retries & Recovery', - icon: , - description: ( -
- Configure retries, backoff, and recovery behavior close to the work - being performed.{' '} - - Handle failure as part of the workflow model - - , not as scattered glue code around it. -
- ), - }, - ], -}