Before we dig in to the API, let's get you set up!
Install your table adapter as a dependency using your preferred package manager:
npm i @tanstack/react-tablepnpm add @tanstack/react-tableyarn add @tanstack/react-tablebun add @tanstack/react-tableThe @tanstack/react-table package works with React 16.8, React 17, React 18, and React 19.
Even though the React adapter works with React 19, it may not work with the new React Compiler that's coming out alongside React 19. This may be fixed in future TanStack Table updates.
Don't see your favorite framework (or favorite version of your framework) listed? You can always just use the @tanstack/table-core package and build your own adapter in your own codebase. Usually, only a thin wrapper is needed to manage state and rendering for your specific framework. Browse the source code of all of the other adapters to see how they work.