Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion console/doc/guide-tanstack-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export const UserList = ({ users }: { users: User[] }) => {

This is the most common bug when working with TanStack Table. **Don't put dynamic data in the `columns` `useMemo` dependency array.** Doing so causes the entire table to remount on every change, which breaks tooltips, popovers, and other interactive elements inside cells.


```tsx
// columns are static. Read dynamic data inside the cell renderer.
const columns = React.useMemo(
() => [
Expand Down
Loading