Skip to main content

FAQ

see also FAQ of react-table


How do I listen to state changes within LineUp-lite ?

The LineUpLite component supports the onStateChange: (state: any) => void property which will be triggered when the internal react-table state changes. The given argument needs to be memorized (using React.useCallback) to work properly.

see also Controlled State Example.