Actions
Refactor #35065
openAdd React context to TableWrapper
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Description
Prop drilling with TableWrapper and its children (MainTable, Search, TypeAhead, TypeAheadSearch, EmptyStateMessage, etc.) can be quite tedious. We should look into refactoring a bit and possibly use React context + useReducer (see https://reactjs.org/docs/hooks-faq.html#how-to-avoid-passing-callbacks-down)
The goals would be
1. reduce the amount of props that must be passed down through TableWrapper
2. cleaner, clearer, more maintainable code in TableWrapper
Updated by William Clark almost 3 years ago
- Target version set to Katello Backlog
- Triaged changed from No to Yes
Actions