Skip to content
This repository has been archived by the owner on Dec 31, 2020. It is now read-only.

Attempted import error: 'useObserver' is not exported from 'mobx-react' #734

Closed
SidKwok opened this issue Jul 30, 2019 · 5 comments
Closed

Comments

@SidKwok
Copy link

SidKwok commented Jul 30, 2019

[email protected]

@danielkcz
Copy link
Contributor

That's total oversight, thanks for letting us know. I've fixed it directly in master, so it will be there with the next release.

@danielkcz
Copy link
Contributor

6.1.2 published with the fix

@nrkroeker
Copy link

While the function itself is now exported, it isn't included in the types definition. For us Typescript users would you mind adding the same one line fix to index.d.ts? 😝 @FredyC

@danielkcz
Copy link
Contributor

Ah, still can't seem to remember that this project is still written in JS and TS has to be maintained separately. I need to change that soon, it's fairly annoying.

Published fix in 6.1.3

@lock
Copy link

lock bot commented Jan 14, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or questions.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants