Enhance GlTable component to return GlTableLite if circumstances allow
In 32.14.0 GlTableLite was introduced to GitLabUI.
GlTableLite supports a subset of the features GlTable does, but is much lighter on the pagebundle.
All those features which are not supported in GlTableLite are triggered via Props in GlTable.
What needs to be done
Enhance the GlTable component so that it checks for the need of a GlTable and if not return a GlTableLite, this will have a great effect on our overall Page Bundles.
Implementation Plan:
-
Check props in GlTable Lite -
Return the best fit for given props (GlTable or GlTableLite)