In this video I'll do a different example of how to use the Agenda component from react-native-calendars. This time I'll fetch data from an external api, map and reduce the data to a state where we can use it in our app to display events!
I assume you’re beginner so I do quite a bit of explaining :)
Previous video:
• Get started with Event Calendar in React N...
MDN - Array.reduce:
https://developer.mozilla.org/en-US/d...
Code:
https://github.com/jonasgroendahl/yt-...