TanStackT
TanStack3y ago
1 reply
dead-brown

Defining columns inside function components

https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/no-unstable-nested-components.md

when I am trying to define my column array inside a function component, whereas in the examples the columns are defined inside the function component,

https://codesandbox.io/s/gallant-austin-kn24pq?file=/src/main.tsx:701-723

can someone help me with this please
GitHub
React-specific linting rules for ESLint. Contribute to jsx-eslint/eslint-plugin-react development by creating an account on GitHub.
eslint-plugin-react/no-unstable-nested-components.md at master · js...
Was this page helpful?