The @tanstack/react-table
adapter is a wrapper around the core table logic. Most of its job is related to managing state the "react" way, providing types and the rendering implementation of cell/header/footer templates.
useReactTable
Takes an options
object and returns a table.
import { useReactTable } from '@tanstack/react-table'
function App() { const table = useReactTable(options)
// ...render your table}
Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.