Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

react-calendar - why really slow when first opening a page with this webpart on it? #5175

Closed
2 of 9 tasks
IamNiteWalker opened this issue Jun 21, 2024 · 2 comments
Closed
2 of 9 tasks
Labels
sample: react-calendar type:bug-suspected Suspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs

Comments

@IamNiteWalker
Copy link

Disclaimer

Yes

Sample

react-calendar

Contributor(s)

@Abderahman88, @Eli-Schei, @mohammadamer, @joaojmendes, @derhallim, @nanddeepn, @mohammadamer

What happened?

This is a great webpart, but when it is added it to a page, when you first open that page, it can take 30-45 seconds for it to load. Once in a while it errors out. When going back to the page within a few hours, the webpart loads within a few seconds.

That's it. I'd really like to use this calendar, but this slowness for my users is kind of a deal breaker.

Steps to reproduce

  1. Add calendar to a page.
  2. Open the page for the first time that day, or several hours after first open the page.
  3. Calendar webpart can take 30-45 seconds to open.

Expected behavior

I'd expect a few seconds for it to load like it does after the first time it has been opened.

Target SharePoint environment

SharePoint Online

Developer environment

Windows

Browsers

  • Internet Explorer
  • Microsoft Edge
  • Google Chrome
  • FireFox
  • Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)

What version of Node.js is currently installed on your workstation?

16.20.1

What version of Node.js is required by the sample?

v14 | v12 | v10

Paste the results of SPFx doctor

m365 spfx doctor -o text

CLI for Microsoft 365 SharePoint Framework doctor
Verifying configuration of your system for working with the SharePoint Framework

√ SharePoint Framework v1.18.2
√ Node v16.20.1
√ yo v5.0.0
√ gulp-cli v2.3.0
√ bundled typescript used

Additional environment details

No response

@IamNiteWalker IamNiteWalker added the type:bug-suspected Suspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs label Jun 21, 2024
@mohammadamer
Copy link
Contributor

Hi @IamNiteWalker

We are working on improving the webpart. Today, I'm going to create a big change PR which will contain filtering events by category hopefully that this could help.
one optional improvements could also be improve loading events because it's saved in local storage.

mohammadamer pushed a commit to mohammadamer/sp-dev-fx-webparts that referenced this issue Jun 28, 2024
mohammadamer pushed a commit to mohammadamer/sp-dev-fx-webparts that referenced this issue Jun 28, 2024
@hugoabernier
Copy link
Collaborator

Closing this issue, as a PR has been processed which addresses this issue. Please open a new issue if you continue to experience the same issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sample: react-calendar type:bug-suspected Suspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs
Projects
None yet
Development

No branches or pull requests

3 participants