-
Notifications
You must be signed in to change notification settings - Fork 220
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
(frontend)[AGE-1418]: Improve posthog initialization to reduce load on bundle size #2357
(frontend)[AGE-1418]: Improve posthog initialization to reduce load on bundle size #2357
Conversation
…nitial-bundle-size
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
🔍 Existing Issues For ReviewYour pull request is modifying functions with the following pre-existing issues: 📄 File: agenta-web/src/pages/_app.tsx
Did you find this useful? React with a 👍 or 👎 |
…nitial-bundle-size
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR @ardaerzin. LGTM
had to bring |
…itial-bundle-size
closes AGE-1418
posthog library import &/ usePosthog hook is a 50kb direct addition to our first loaded JS.
What has changed?
usePostHog
hook and provider imported fromposthog-js/react
package.Suggestions for testing