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

Typeerror with nextjs #141

Open
ameliacode opened this issue Feb 9, 2023 · 2 comments
Open

Typeerror with nextjs #141

ameliacode opened this issue Feb 9, 2023 · 2 comments

Comments

@ameliacode
Copy link

Hi I was working with react 17 and react 18 with nextjs 12 and 13 respectively.

It worked well in local tho, however, it encountered terrible error in vercel..
I first thought its problem was related with nextjs
but after I remove your button component the problem was solved somehow..

I'll leave error message here:
TypeError: Cannot read properties of undefined (reading 'transition') : this message was from nextjs 13 and react 18

I think it is somehow related with the useTransition function that was newly released in react 18

@SohamSen15
Copy link

Can you please share an example of your code causing the bug?

@ameliacode
Copy link
Author

Hi I noticed this just now.
What I remember so far, that typeerror above just invoke in my browser console constantly when hosting in vercel.
I just simply add that button to this project
It's been 3months and I have finished my project :( so I can't remember it in detail..

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

No branches or pull requests

2 participants