Don't duplicate code between the table/menu code. Instead, refactor out into centrally referenced component that can be embedded into the both of them.
Could cause issues with using between different types of data, but can be solved using generics/empty interface (I hope!)
Don't duplicate code between the table/menu code. Instead, refactor out into centrally referenced component that can be embedded into the both of them.
Could cause issues with using between different types of data, but can be solved using generics/empty interface (I hope!)