[BUG] useSimpleList in nextjs with syncWithLocation on, url is not getting appended with current and pageSize.
See original GitHub issueDescribe the bug Tried using useSimpleList in nextjs with syncWithLocation on. But the url is not getting appended with current and pageSize.
To Reproduce
const { listProps } = useSimpleList<IPost>({ resource: "wfhapproval", syncWithLocation: true, queryOptions: { initialData, }, pagination: { pageSize: 24 } });
Expected behavior url should be appended with current and pageSize.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Page state is not reset for navigating between dynamic routes
Bug report. Describe the bug. The page state is not reset for navigation between dynamic routes that served by the same source component....
Read more >React-router URLs don't work when refreshing or writing ...
So basically when you click a link, some JavaScript runs that manipulates the URL in the address bar, without causing a page refresh,...
Read more >useSimpleList - Refine Dev
By using useSimpleList you get props for your records from API in accordance with Ant Design <List> component. All features such as pagination, ......
Read more >How to use Ant Design with Next.js - LogRocket Blog
In this article, we will be taking a look at how developers can integrate Ant Design with Next.js — let's get started!
Read more >Next.js Crash Course | Create a user list app - YouTube
Join this channel to get access to perks:https://www.youtube.com/channel/UCu4-4FnutvSHVo9WHvq80Ww/join Source code:1.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@omeraplak Tested and Works great !!
Hey @tspvivek , We’ve released 3.1.6. Could you approve this fix?
Please don’t forget to update all “refine” packages to the latest version.