Skip to content

How to properly render a server side pagination in Storybook? #539

Answered by franky47
SalahAdDin asked this question in Q&A
Discussion options

You must be logged in to vote

According to the error URL, the issue is that the search params cache hasn't been populated. This can be done by calling the parse method on it, feeding it your mock search params, which will then be distributed to the RSC tree.

Documentation: https://nuqs.47ng.com/docs/server-side

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@franky47
Comment options

@SalahAdDin
Comment options

@franky47
Comment options

@SalahAdDin
Comment options

@SalahAdDin
Comment options

Answer selected by franky47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants