Open ameliacode opened 1 year ago
Can you please share an example of your code causing the bug?
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..
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 18I think it is somehow related with the useTransition function that was newly released in react 18