lazy load wallet provider on auth page#1505
Conversation
|
Hi @manav1913! Thanks for the PR. Contributions to Postiz are gated behind an application. Please apply at https://contribute.postiz.com/p/postiz and we'll reopen this PR once you're approved. This project also requires a signed Contributor License Agreement. You can sign it now at https://contribute.postiz.com/p/postiz/cla so you're ready as soon as your application is approved. |
|
Submitted the contribution application form. Looking forward to contributing further. |
|
Hi @manav1913! Your application for Postiz is awaiting review. We'll reopen this PR once it's approved. Status: https://contribute.postiz.com/p/postiz This project also requires a signed Contributor License Agreement. You can sign it now at https://contribute.postiz.com/p/postiz/cla so you're ready as soon as your application is approved. |
|
Hi team! The CLA signing link at https://contribute.postiz.com/p/postiz/cla is not working - getting an error when trying to access it. Could you help me sign the CLA through an alternate method so the PR can be reopened? Happy to contribute further once this is resolved. Thanks! |
Hey @manav1913 , |
|
@manav1913's application for Postiz was approved. Reopening this PR. |
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |

What kind of change does this PR introduce?
Performance optimization
Why was this change needed?
The wallet auth provider imports several Solana wallet-related dependencies that are only needed when wallet authentication is available and used.This change lazy-loads the wallet provider using next/dynamic so those dependencies are not included in the initial auth page render path, helping reduce unnecessary upfront JavaScript execution.
Other information:
eg: Did you discuss this change with anybody before working on it (not required, but can be a good idea for bigger changes). Any plans for the future, etc?
I’d also be interested in exploring additional auth page optimizations around initial bundle size and render performance in future contributions.
Checklist:
Put a "X" in the boxes below to indicate you have followed the checklist;