Best practices when using react-table? #2810
Unanswered
AlbinCederblad
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Lets say i have an application with many different tables, each table with slightly different functionality.
Some tables redirect to another route with another table when clicking a row. Another table opens a modal when clicking a row.
Is the best option here not to stick to DRY, and just have many components with a new Table? essentially repeating the same
code over and over. Or should i use the factory approach, where each unique table renders the generic Table with props?Beta Was this translation helpful? Give feedback.
All reactions