MCPcopy Index your code
hub / github.com/Abhirup-99/tanstack-demo

github.com/Abhirup-99/tanstack-demo @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
14 symbols 43 edges 17 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:

export default tseslint.config([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...

      // Remove tseslint.configs.recommended and replace with this
      ...tseslint.configs.recommendedTypeChecked,
      // Alternatively, use this for stricter rules
      ...tseslint.configs.strictTypeChecked,
      // Optionally, add this for stylistic rules
      ...tseslint.configs.stylisticTypeChecked,

      // Other configs...
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])

You can also install eslint-plugin-react-x and eslint-plugin-react-dom for React-specific lint rules:

// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'

export default tseslint.config([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...
      // Enable lint rules for React
      reactX.configs['recommended-typescript'],
      // Enable lint rules for React DOM
      reactDom.configs.recommended,
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])

Extension points exported contracts — how you extend this code

TableMeta (Interface)
(no doc)
src/tanstack-table.d.ts

Core symbols most depended-on inside this repo

getColumnPinStatus
called by 1
src/components/ColumnReorderModal.tsx
generateLargeDataset
called by 1
src/utils/dataGenerator.ts
useTableColumns
called by 1
src/hooks/useTableColumns.tsx
useOrganizedColumns
called by 1
src/hooks/useColumnOrganization.ts
useColumnPinning
called by 1
src/hooks/useColumnOrganization.ts
VirtualizedTable
called by 0
src/VirtualizedTable.tsx
EditableCell
called by 0
src/components/EditableCell.tsx
onBlur
called by 0
src/components/EditableCell.tsx

Shape

Function 13
Interface 1

Languages

TypeScript100%

Modules by API surface

src/components/ColumnReorderModal.tsx3 symbols
src/hooks/useColumnOrganization.ts2 symbols
src/components/EditableCell.tsx2 symbols
src/utils/dataGenerator.ts1 symbols
src/tanstack-table.d.ts1 symbols
src/hooks/useTableColumns.tsx1 symbols
src/components/TableControls.tsx1 symbols
src/components/SortableColumnItem.tsx1 symbols
src/components/HeaderCell.tsx1 symbols
src/VirtualizedTable.tsx1 symbols

For agents

$ claude mcp add tanstack-demo \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact