You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While you can use a changeStore to accomplish the task of calling a function when you change page/etc, being able to provide a paginationStore({ onChange: () => ... }) would simplify this case.
Adding something like...
if (props?.onChange) {
state.subscribe(props.onChange)
}
While you can use a changeStore to accomplish the task of calling a function when you change page/etc, being able to provide a
paginationStore({ onChange: () => ... })
would simplify this case.Adding something like...
...to paginationStore should work.
See discussion
The text was updated successfully, but these errors were encountered: