T
TanStack2y ago
rival-black

calendar negative pages?

can I use this for a calendar view? planning on setting this up so that the query will get events for the current month, moving forward/backward will change the "page" number but then would it work with negative numbers if the current month is set as page 0? or is there a better way to handle this case? maybe set the current month page to be months from unix time 0, then set the default page number to that? im not sure what the best way to go around this is, and I would love some advice/feedback
1 Reply
future-harlequin
future-harlequin2y ago
Yes. Just choose a representation that works for you

Did you find this page helpful?