Replies: 2 comments 3 replies
-
Actually that plugin guide is alluded to at the end of this section but it’s not clear where that actually is and there is no link “To dive deeper into plugins, see Plugins and the Plugin Guide” Bump to see this issue resolved, I’m very interested in seeing this document |
Beta Was this translation helpful? Give feedback.
-
Old reply, I have some notes from reading the code. They're not all the pretty but it's a start useOptions; //(default_options) => (new options) stateReducers; // (state, action, state_before_reduce, instance) => (new_state), //decorating or modifying the user's columns //decorating or modifying all the columns (columns could have been added in the above step) // Allow plugins to manipulate the column value useInstanceAfterData; //(instance) => mutations to instance //decorating the columns //default column is applied at the end of this headerGroups; //(header_group_data, instance) => ????new_header_group?? useInstanceBeforeDimensions; //(instance) => instance mutations // need to apply any row specific hooks (useExpanded requires this) getTableProps; // (prevProps, {instance, userProps}) => dom props useFinalInstance; //(instance) => mutations to instance |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Thanks, @tannerlinsley for all of your work in the react ecosystem.
React Table is one of my favorite go-to libraries at the moment. It's helped me build several complex yet performant UI's.
I was wondering if there was a Plugin Guide somewhere... I recently was able to modify
useRowSelect
to fit my needs, and once I kind of slowed down and truly read and understood the code I felt like I "got" plugins.. But it seems like this area of the project could use a little more documentationAnyways, thanks again for the library!
Beta Was this translation helpful? Give feedback.
All reactions