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

Memory Leak On Nuxt 3 #64

Open
amomammadw opened this issue Feb 5, 2024 · 3 comments
Open

Memory Leak On Nuxt 3 #64

amomammadw opened this issue Feb 5, 2024 · 3 comments
Labels
bug Something isn't working need-reproducible
Milestone

Comments

@amomammadw
Copy link

amomammadw commented Feb 5, 2024

Memory Leak on server using onetap composable on app.vue

I face Memory Leak issue on my nuxt 3 application in production when I use OneTap Composable in my app.vue file to have the ability to login my users in whole application
is there any solution to fix this issue or something in the package should be fixed?
i also use SSR in my app and run the onetap login() in onMounted to make sure it is hydrated on client-side and also the isReady variable is not working on production environment
it would be great to help me guys
thanks

here's my code

onMounted(() => { setTimeout(() => { if (!isAuthenticated.value) { console.log("One tap"); login(); } }, 200); });

const { login, isReady } = useOneTap({ onError: handleOneTapError, disableAutomaticPrompt: true, onSuccess: handleOneTapSuccess, });

@kasvith
Copy link
Collaborator

kasvith commented Mar 13, 2024

Can you provide a reproducible?

@kasvith
Copy link
Collaborator

kasvith commented Jul 10, 2024

is this still happening in latest nuxt?

@kasvith kasvith added bug Something isn't working need-reproducible labels Jul 10, 2024
@kasvith kasvith added this to the v3.0.0 milestone Nov 21, 2024
@kasvith
Copy link
Collaborator

kasvith commented Nov 21, 2024

Planning to upgrade Nuxt module

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need-reproducible
Projects
None yet
Development

No branches or pull requests

2 participants