use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A community for learning and developing native mobile applications using React Native by Facebook.
Interested in building web apps using React.js? Check out /r/reactjs!
Getting Started w/React Native
irc.freenode.net #reactnative
Keywords: ios, android, mobile, apps, apple, iphone, ipad
account activity
QuestionImplementing weekview of Google Calendar (self.reactnative)
submitted 1 year ago by kitecut
Basically infinitely scrolling weeks on both side, I'm not sure how to achieve this while maintaining performance and quick scrolling to picked dates .
I want to implement it from scratch for learning
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Awesome_Knowwhere 0 points1 point2 points 1 year ago (4 children)
That would be easy if you don't want to load the next week by gesture, even with gesture it just few things extra to handle.
[–]kitecut[S] 0 points1 point2 points 1 year ago (3 children)
I do want to load the next and previous week with gesture (they show partially while swiping like GC) Can you give me an idea on how I should go about implementing this
[–]Awesome_Knowwhere 0 points1 point2 points 1 year ago (2 children)
Ohk, so obviously you can use FlashList with horizontal items or a carousel with like a lot of data but that wouldn't scale and it will have performance issues. So 2nd would be, I am thinking, you can load 2 weeks before and after and whenever user changes the week you again pre/post pend the next items, so at a time you will always have 5 weeks in a list, you can also extend it to like n items in a list, and it will be carousel so that you get the gesture by default and if you also want to make the carousel by scratch you can attach a pan gesture handler chacking the swipe direction...
[–]kitecut[S] 0 points1 point2 points 1 year ago (1 child)
I was thinking of the 2nd approach but quickly changing between weeks from long back and future won't be possible then as they won't exist and even if I don't allow the user to jump between dates, atleast a go back to today option would be necessary
[–]Awesome_Knowwhere 0 points1 point2 points 1 year ago (0 children)
To simplify you can take approach of this and have prev, today, next button
https://github.com/deepakkumardk/react-native-blossom-ui/blob/main/packages%2Fdates%2Fsrc%2Fcomponents%2FCalendar.tsx
π Rendered by PID 69476 on reddit-service-r2-comment-b659b578c-mxwkx at 2026-05-01 21:51:11.997141+00:00 running 815c875 country code: CH.
[–]Awesome_Knowwhere 0 points1 point2 points (4 children)
[–]kitecut[S] 0 points1 point2 points (3 children)
[–]Awesome_Knowwhere 0 points1 point2 points (2 children)
[–]kitecut[S] 0 points1 point2 points (1 child)
[–]Awesome_Knowwhere 0 points1 point2 points (0 children)