Skip to content

Conversation

@klaasman
Copy link
Contributor

Correct me if I'm wrong, but your library is depending on certain features of react 16.8.x (see error below), therefore the peer-dependency on react should be at least 16.8.x.

error:

var prevDispatcher = ReactCurrentDispatcher.current; ^ TypeError: Cannot read property 'current' of undefined 

Have a look at the following codesandbox: https://codesandbox.io/s/pmyvpmnxw0

I came across this issue due to next-server depending on your library, see related issue: vercel/next.js#7073

@kitten
Copy link
Contributor

kitten commented May 1, 2019

Cheers 🎉

@kitten kitten merged commit a85f77a into FormidableLabs:master May 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants