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

Globally accessible client #533

Open
tombruijn opened this issue Jan 3, 2022 · 1 comment
Open

Globally accessible client #533

tombruijn opened this issue Jan 3, 2022 · 1 comment

Comments

@tombruijn
Copy link
Member

Like issue appsignal/appsignal-nodejs#503 for Node.js, make the client available globally. For JavaScript that would be window probably.

Let's discuss the best way to implement this.

@tombruijn
Copy link
Member Author

Is there a problem with putting everything on the global namespace? Because people can run multiple JavaScript apps in the frontend, and they may want to report them as separate apps?
If we go with the global way, this won't be supported, which isn't bad, but it's something to keep in mind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant