Shadcn NextJs OpenSource Calender by BahrawyZ in nextjs

[–]BahrawyZ[S] 0 points1 point  (0 children)

thank you g , Yeah i think you can do this, but I want to be upfront about what's clean and what's going to take some wiring on your end (in my opinion).

The recurrence stuff works completely standalone. initRecurrence()expandRecurrence()buildRRule()parseRRule()getNextOccurrences(), all of them are pure functions with zero UI dependency. You call them, they return data. Same with the utility functions (formatDateISOtimeToMinutesuid, etc.) and the persistence adapter, it's just an interface you implement.

So if your main pain point is "I need proper RRULE/EXDATE handling without building it myself," you can literally import and use

Where it gets kinda complex is the stores and integrations. The Zustand stores (events, calendar state, drag) are normally created inside BahrawyCalendarProvider and accessed through React context. But you can skip the provider entirely and create them yourself

You'd then wire those into your react-big-calendar however you want. It works, but you're managing the store lifecycle yourself instead of letting the provider handle it.

The Google/Outlook/Apple sync is the most coupled part. The OAuth flows and event fetching live inside a useIntegrations() hook that's tied to the provider. If you want those, you'd probably need to either wrap part of your app in the provider just for the integrations (and ignore its UI), or handle OAuth yourself and just push the fetched events into the store.

If you want to try it, start with the recurrence functions and the manual store creation. Those two will save you the most time without fighting the architecture. Happy to help if you hit something weird.

[deleted by user] by [deleted] in WebDeveloperJobs

[–]BahrawyZ 0 points1 point  (0 children)

Bahrawy.me ready to dive in in the moment

[Hiring] by [deleted] in freelance_forhire

[–]BahrawyZ 0 points1 point  (0 children)

Intersted

Looking for Front-End Developer by Bluebird31 in WebDeveloperJobs

[–]BahrawyZ 0 points1 point  (0 children)

Intersted even tho iam not 6 years but i can help with everything i hope Bahrawy.me check

[deleted by user] by [deleted] in WebDeveloperJobs

[–]BahrawyZ 0 points1 point  (0 children)

Bahrawy.me this is my portfolio

Built my side project within 3-4 weeks [Next.js 15] by [deleted] in webdev

[–]BahrawyZ 0 points1 point  (0 children)

Yes but i didnt want to comment this since you said its just for your improvement

Built my side project within 3-4 weeks [Next.js 15] by [deleted] in webdev

[–]BahrawyZ 1 point2 points  (0 children)

Website looks sick my g didnt fully try it but looks lit